Resolving compilation errors.
This commit is contained in:
parent
df2331d5e7
commit
8e2816038e
|
@ -49,8 +49,8 @@ extern char tsLocalEp[];
|
|||
extern char tsVersionName[];
|
||||
extern uint16_t tsServerPort;
|
||||
extern int32_t tsVersion;
|
||||
int32_t configVersion;
|
||||
int32_t configInited;
|
||||
extern int32_t tsConfigVersion;
|
||||
extern int32_t tsConfigInited;
|
||||
extern int32_t tsStatusInterval;
|
||||
extern int32_t tsNumOfSupportVnodes;
|
||||
extern char tsEncryptAlgorithm[];
|
||||
|
|
|
@ -43,8 +43,8 @@ char tsLocalEp[TSDB_EP_LEN] = {0}; // Local End Point, hostname:port
|
|||
char tsVersionName[16] = "community";
|
||||
uint16_t tsServerPort = 6030;
|
||||
int32_t tsVersion = 30000000;
|
||||
int32_t configVersion = 0;
|
||||
int32_t configInited = 0;
|
||||
int32_t tsConfigVersion = 0;
|
||||
int32_t tsConfigInited = 0;
|
||||
int32_t tsStatusInterval = 1; // second
|
||||
int32_t tsNumOfSupportVnodes = 256;
|
||||
char tsEncryptAlgorithm[16] = {0};
|
||||
|
@ -649,7 +649,6 @@ static int32_t taosAddClientCfg(SConfig *pCfg) {
|
|||
TAOS_CHECK_RETURN(
|
||||
cfgAddBool(pCfg, "crashReporting", tsEnableCrashReport, CFG_SCOPE_BOTH, CFG_DYN_BOTH, CFG_CATEGORY_GLOBAL));
|
||||
TAOS_CHECK_RETURN(cfgAddInt64(pCfg, "queryMaxConcurrentTables", tsQueryMaxConcurrentTables, INT64_MIN, INT64_MAX,
|
||||
<<<<<<< HEAD
|
||||
CFG_SCOPE_CLIENT, CFG_DYN_NONE, CFG_CATEGORY_LOCAL));
|
||||
TAOS_CHECK_RETURN(cfgAddInt32(pCfg, "metaCacheMaxSize", tsMetaCacheMaxSize, -1, INT32_MAX, CFG_SCOPE_CLIENT,
|
||||
CFG_DYN_CLIENT, CFG_CATEGORY_LOCAL));
|
||||
|
|
|
@ -287,7 +287,7 @@ void dmSendConfigReq(SDnodeMgmt *pMgmt) {
|
|||
int32_t code = 0;
|
||||
SConfigReq req = {0};
|
||||
|
||||
req.cver = configVersion;
|
||||
req.cver = tsConfigVersion;
|
||||
dDebug("send config req to mnode, configVersion:%d", req.cver);
|
||||
|
||||
int32_t contLen = tSerializeSConfigReq(NULL, 0, &req);
|
||||
|
|
|
@ -57,7 +57,7 @@ static void *dmConfigThreadFp(void *param) {
|
|||
|
||||
while (1) {
|
||||
taosMsleep(200);
|
||||
if (pMgmt->pData->dropped || pMgmt->pData->stopped || configInited) break;
|
||||
if (pMgmt->pData->dropped || pMgmt->pData->stopped || tsConfigInited) break;
|
||||
|
||||
int64_t curTime = taosGetTimestampMs();
|
||||
if (curTime < lastTime) lastTime = curTime;
|
||||
|
|
Loading…
Reference in New Issue