提交 7e207e16 编写于 作者: S Shengliang Guan

refactor: node mgmt

上级 47970ff8
......@@ -195,6 +195,8 @@ static int32_t dmRunDnode() {
int32_t code = dmRun(pDnode);
dInfo("start shutting down the service");
global.pDnode = NULL;
dmClose(pDnode);
dmCleanup();
taosCloseLog();
taosCleanupCfg();
......
......@@ -337,7 +337,6 @@ int32_t dmRun(SDnode *pDnode) {
dmSetStatus(pDnode, DND_STAT_STOPPED);
dmStopNodes(pDnode);
dmCloseNodes(pDnode);
dmClose(pDnode);
return 0;
} else {
dmWatchNodes(pDnode);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册