提交 2fb7c16b 编写于 作者: M Minglei Jin

vnode/drop: ingore invalid vgroup id if already dropped

上级 7c93c421
...@@ -122,7 +122,7 @@ int32_t vnodeDrop(int32_t vgId) { ...@@ -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);
......
...@@ -387,5 +387,5 @@ void vnodeWaitWriteCompleted(SVnodeObj *pVnode) { ...@@ -387,5 +387,5 @@ void vnodeWaitWriteCompleted(SVnodeObj *pVnode) {
taosMsleep(10); taosMsleep(10);
} }
taosMsleep(1000); taosMsleep(2100);
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册