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

fix: crash in multiprocess mode

上级 39daf0bc
...@@ -380,6 +380,7 @@ static int32_t vmStart(SMgmtWrapper *pWrapper) { ...@@ -380,6 +380,7 @@ static int32_t vmStart(SMgmtWrapper *pWrapper) {
} }
static void vmStop(SMgmtWrapper *pWrapper) { static void vmStop(SMgmtWrapper *pWrapper) {
#if 0
dDebug("vnode-mgmt start to stop"); dDebug("vnode-mgmt start to stop");
SVnodesMgmt *pMgmt = pWrapper->pMgmt; SVnodesMgmt *pMgmt = pWrapper->pMgmt;
taosRLockLatch(&pMgmt->latch); taosRLockLatch(&pMgmt->latch);
...@@ -395,6 +396,7 @@ static void vmStop(SMgmtWrapper *pWrapper) { ...@@ -395,6 +396,7 @@ static void vmStop(SMgmtWrapper *pWrapper) {
} }
taosRUnLockLatch(&pMgmt->latch); taosRUnLockLatch(&pMgmt->latch);
#endif
} }
void vmSetMgmtFp(SMgmtWrapper *pWrapper) { void vmSetMgmtFp(SMgmtWrapper *pWrapper) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册