Merge pull request #2165 from taosdata/hotfix/test

[TD-529]
This commit is contained in:
Shengliang Guan 2020-06-06 17:56:08 +08:00 committed by GitHub
commit 0b67ec8f35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
}