提交 b9056fad 编写于 作者: S Shengliang Guan

TD-2605

上级 7f57f0e1
......@@ -420,9 +420,6 @@ void vnodeCleanUp(SVnodeObj *pVnode) {
vnodeSetClosingStatus(pVnode);
// release local resources only after cutting off outside connections
qQueryMgmtNotifyClosed(pVnode->qMgmt);
// stop replication module
if (pVnode->sync > 0) {
int64_t sync = pVnode->sync;
......
......@@ -75,6 +75,9 @@ bool vnodeSetClosingStatus(SVnodeObj* pVnode) {
}
}
// release local resources only after cutting off outside connections
qQueryMgmtNotifyClosed(pVnode->qMgmt);
return true;
}
......@@ -116,6 +119,9 @@ bool vnodeSetResetStatus(SVnodeObj* pVnode) {
}
}
// release local resources only after cutting off outside connections
qQueryMgmtNotifyClosed(pVnode->qMgmt);
return true;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册