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

minor changes

上级 21c69b8b
......@@ -251,7 +251,6 @@ void dndClose(SDnode *pDnode) {
dndCleanupQnode(pDnode);
dndCleanupVnodes(pDnode);
dndCleanupMgmt(pDnode);
vnodeCleanup();
tfsCleanup();
dndCloseImp(pDnode);
......@@ -309,6 +308,7 @@ void dndCleanup() {
}
walCleanUp();
vnodeCleanup();
rpcCleanup();
taosStopCacheRefreshWorker();
......
......@@ -45,6 +45,7 @@ void Testbase::InitLog(const char* path) {
void Testbase::Init(const char* path, int16_t port) {
SDnodeEnvCfg cfg = {0};
cfg.numOfCommitThreads = 1;
cfg.numOfCores = 1;
dndInit(&cfg);
char fqdn[] = "localhost";
......
......@@ -61,8 +61,6 @@ void vnodeCleanup() {
return;
}
walCleanUp();
// Stop commit handler
pthread_mutex_lock(&(vnodeMgr.mutex));
vnodeMgr.stop = true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册