[TD-184] handle bugs during wal synchronization

This commit is contained in:
slguan 2020-04-27 17:49:22 +08:00
parent 050dd145e1
commit e8f33da26f
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ int32_t vnodeProcessWrite(void *param1, int qtype, void *param2, void *item) {
return TSDB_CODE_NOT_ACTIVE_VNODE;
if (pVnode->syncCfg.replica > 1 && pVnode->role != TAOS_SYNC_ROLE_MASTER)
return TSDB_CODE_NO_MASTER;
return TSDB_CODE_NOT_READY;
// assign version
pVnode->version++;