change paramter
This commit is contained in:
parent
91b09893bf
commit
65aa86edec
|
@ -88,7 +88,7 @@ int32_t tsQueryNodeChunkSize = 32 * 1024;
|
||||||
bool tsQueryUseNodeAllocator = true;
|
bool tsQueryUseNodeAllocator = true;
|
||||||
bool tsKeepColumnName = false;
|
bool tsKeepColumnName = false;
|
||||||
int32_t tsRedirectPeriod = 100;
|
int32_t tsRedirectPeriod = 100;
|
||||||
int32_t tsRedirectFactor = 5;
|
int32_t tsRedirectFactor = 1;
|
||||||
int32_t tsRedirectMaxPeriod = 10000;
|
int32_t tsRedirectMaxPeriod = 10000;
|
||||||
int32_t tsMaxRetryWaitTime = 60000;
|
int32_t tsMaxRetryWaitTime = 60000;
|
||||||
|
|
||||||
|
|
|
@ -1444,6 +1444,7 @@ bool cliResetEpset(STransConnCtx* pCtx, STransMsg* pResp, bool hasEpSet) {
|
||||||
if (!transEpSetIsEqual(&pCtx->epSet, &epSet)) {
|
if (!transEpSetIsEqual(&pCtx->epSet, &epSet)) {
|
||||||
tDebug("epset not equal, retry new epset");
|
tDebug("epset not equal, retry new epset");
|
||||||
pCtx->epSet = epSet;
|
pCtx->epSet = epSet;
|
||||||
|
noDelay = false;
|
||||||
} else {
|
} else {
|
||||||
if (pCtx->epsetRetryCnt >= pCtx->epSet.numOfEps) {
|
if (pCtx->epsetRetryCnt >= pCtx->epSet.numOfEps) {
|
||||||
noDelay = false;
|
noDelay = false;
|
||||||
|
@ -1475,7 +1476,7 @@ bool cliGenRetryRule(SCliConn* pConn, STransMsg* pResp, SCliMsg* pMsg) {
|
||||||
pCtx->retryMaxTimeout = pTransInst->retryMaxTimouet;
|
pCtx->retryMaxTimeout = pTransInst->retryMaxTimouet;
|
||||||
pCtx->retryInitTimestamp = taosGetTimestampMs();
|
pCtx->retryInitTimestamp = taosGetTimestampMs();
|
||||||
pCtx->retryNextInterval = pCtx->retryMinInterval;
|
pCtx->retryNextInterval = pCtx->retryMinInterval;
|
||||||
pCtx->retryStep = 1;
|
pCtx->retryStep = 0;
|
||||||
pCtx->retryInit = true;
|
pCtx->retryInit = true;
|
||||||
}
|
}
|
||||||
if (-1 != pCtx->retryMaxTimeout && taosGetTimestampMs() - pCtx->retryInitTimestamp >= pCtx->retryMaxTimeout) {
|
if (-1 != pCtx->retryMaxTimeout && taosGetTimestampMs() - pCtx->retryInitTimestamp >= pCtx->retryMaxTimeout) {
|
||||||
|
|
Loading…
Reference in New Issue