vnode/read: use app not ready instead of invalid vgroup id to make crash_gen happy
This commit is contained in:
parent
2fb7c16b87
commit
dae9262562
|
@ -118,9 +118,8 @@ static SVReadMsg *vnodeBuildVReadMsg(SVnodeObj *pVnode, void *pCont, int32_t con
|
|||
|
||||
int32_t vnodeWriteToRQueue(void *vparam, void *pCont, int32_t contLen, int8_t qtype, void *rparam) {
|
||||
SVnodeObj *pVnode = vparam;
|
||||
|
||||
if (pVnode->dropped) {
|
||||
return TSDB_CODE_VND_INVALID_VGROUP_ID;
|
||||
return TSDB_CODE_APP_NOT_READY;
|
||||
}
|
||||
|
||||
SVReadMsg *pRead = vnodeBuildVReadMsg(vparam, pCont, contLen, qtype, rparam);
|
||||
|
|
Loading…
Reference in New Issue