vnode/drop: ingore invalid vgroup id if already dropped

This commit is contained in:
Minglei Jin 2021-05-15 16:46:43 +08:00
parent 7c93c4217a
commit 2fb7c16b87
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ int32_t vnodeDrop(int32_t vgId) {
} }
if (pVnode->dropped) { if (pVnode->dropped) {
vnodeRelease(pVnode); vnodeRelease(pVnode);
return TSDB_CODE_VND_INVALID_VGROUP_ID; return TSDB_CODE_SUCCESS;
} }
vInfo("vgId:%d, vnode will be dropped, refCount:%d pVnode:%p", pVnode->vgId, pVnode->refCount, pVnode); vInfo("vgId:%d, vnode will be dropped, refCount:%d pVnode:%p", pVnode->vgId, pVnode->refCount, pVnode);

View File

@ -387,5 +387,5 @@ void vnodeWaitWriteCompleted(SVnodeObj *pVnode) {
taosMsleep(10); taosMsleep(10);
} }
taosMsleep(1000); taosMsleep(2100);
} }