change default config

This commit is contained in:
yihaoDeng 2023-11-29 14:50:07 +08:00
parent ade2f322a0
commit 03b698d8ae
3 changed files with 7 additions and 3 deletions

View File

@ -1477,7 +1477,7 @@ static int32_t taosCfgDynamicOptionsForServer(SConfig *pCfg, char *name) {
{"supportVnodes", &tsNumOfSupportVnodes},
};
if (taosCfgSetOption(debugOptions, tListLen(debugOptions), pItem, true) != 0) {
if (taosCfgSetOption(debugOptions, tListLen(debugOptions), pItem, true) != 0) {
taosCfgSetOption(options, tListLen(options), pItem, false);
}
}

View File

@ -366,8 +366,12 @@ int32_t streamSnapRead(SStreamSnapReader* pReader, uint8_t** ppData, int64_t* si
int32_t code = 0;
SStreamSnapHandle* pHandle = &pReader->handle;
int32_t idx = pHandle->currIdx;
SBackendSnapFile2* pSnapFile = taosArrayGet(pHandle->pDbSnapSet, idx);
SBackendFileItem* item = NULL;
if (pSnapFile == NULL) {
return 0;
}
SBackendFileItem* item = NULL;
_NEXT:

View File

@ -31,7 +31,7 @@ class TDTestCase:
tdSql.query("use test")
tdSql.query("create snode on dnode 4")
tdSql.query("create stream if not exists s1 trigger at_once ignore expired 0 ignore update 0 fill_history 1 into st1 as select _wstart,sum(voltage),groupid from meters partition by groupid interval(2s)")
tdLog.debug("========create stream useing snode and insert data ok========")
tdLog.debug("========create stream using snode and insert data ok========")
time.sleep(60)
tdDnodes = cluster.dnodes