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

TD-1257

上级 3e9834c9
...@@ -166,7 +166,7 @@ static void mnodeCleanupTimer() { ...@@ -166,7 +166,7 @@ static void mnodeCleanupTimer() {
static bool mnodeNeedStart() { static bool mnodeNeedStart() {
struct stat dirstat; struct stat dirstat;
char mnodeFileName[TSDB_FILENAME_LEN * 2] = {0}; 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 fileExist = (stat(mnodeFileName, &dirstat) == 0);
bool asMaster = (strcmp(tsFirst, tsLocalEp) == 0); bool asMaster = (strcmp(tsFirst, tsLocalEp) == 0);
......
run unique/mnode/mgmt21.sim
run unique/mnode/mgmt22.sim run unique/mnode/mgmt22.sim
run unique/mnode/mgmt23.sim run unique/mnode/mgmt23.sim
run unique/mnode/mgmt24.sim run unique/mnode/mgmt24.sim
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册