fix bug while create log database
This commit is contained in:
parent
617eb33ebe
commit
ac5d753611
|
@ -109,6 +109,11 @@ static void monitorStartSystemRetry() {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void monitorInitConn(void *para, void *unused) {
|
static void monitorInitConn(void *para, void *unused) {
|
||||||
|
if (dnodeGetDnodeId() <= 0) {
|
||||||
|
monitorStartSystemRetry();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
monitorPrint("starting to initialize monitor service ..");
|
monitorPrint("starting to initialize monitor service ..");
|
||||||
tsMonitorConn.state = MONITOR_STATE_INITIALIZING;
|
tsMonitorConn.state = MONITOR_STATE_INITIALIZING;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue