minor changes
This commit is contained in:
parent
21c69b8bf6
commit
a24087b8d0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue