[TBASE-1116]

This commit is contained in:
slguan 2019-11-13 19:08:00 +08:00
parent adbf4c22c1
commit 32c5c18c3f
3 changed files with 6 additions and 3 deletions

View File

@ -77,7 +77,7 @@ int httpStartSystem() {
if (httpServer == NULL) {
httpError("http server is null");
return -1;
httpInitSystem();
}
if (httpServer->pContextPool == NULL) {

View File

@ -95,6 +95,9 @@ int monitorInitSystem() {
}
int monitorStartSystem() {
if (monitor == NULL) {
monitorInitSystem();
}
taosTmrReset(monitorInitConn, 10, NULL, tscTmr, &monitor->initTimer);
return 0;
}

View File

@ -33,8 +33,8 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Woverflow"
SModule tsModule[TSDB_MOD_MAX];
uint32_t tsModuleStatus;
SModule tsModule[TSDB_MOD_MAX] = {0};
uint32_t tsModuleStatus = 0;
pthread_mutex_t dmutex;
extern int vnodeSelectReqNum;
extern int vnodeInsertReqNum;