This commit is contained in:
Shengliang Guan 2020-08-28 06:42:05 +00:00
parent 3e9834c907
commit d09567c82b
2 changed files with 2 additions and 1 deletions

View File

@ -166,7 +166,7 @@ static void mnodeCleanupTimer() {
static bool mnodeNeedStart() {
struct stat dirstat;
char mnodeFileName[TSDB_FILENAME_LEN * 2] = {0};
sprintf(mnodeFileName, "%s/wal0", tsMnodeDir);
sprintf(mnodeFileName, "%s/wal/wal0", tsMnodeDir);
bool fileExist = (stat(mnodeFileName, &dirstat) == 0);
bool asMaster = (strcmp(tsFirst, tsLocalEp) == 0);

View File

@ -1,3 +1,4 @@
run unique/mnode/mgmt21.sim
run unique/mnode/mgmt22.sim
run unique/mnode/mgmt23.sim
run unique/mnode/mgmt24.sim