This commit is contained in:
Hui Li 2020-06-06 17:53:46 +08:00
parent f04949ecb1
commit b9ffc2099e
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ int32_t vnodeProcessRead(void *param, int msgType, void *pCont, int32_t contLen,
// TODO: Later, let slave to support query
if (pVnode->syncCfg.replica > 1 && pVnode->role != TAOS_SYNC_ROLE_MASTER)
return TSDB_CODE_NOT_READY;
return TSDB_CODE_RPC_NOT_READY;
return (*vnodeProcessReadMsgFp[msgType])(pVnode, pCont, contLen, ret);
}