fix(stream): fix bug in limiting concurrent checkpoints

This commit is contained in:
Haojun Liao 2025-02-10 16:27:20 +08:00
parent 6c7a8e9774
commit d08a81cc98
1 changed files with 1 additions and 1 deletions

View File

@ -1312,7 +1312,7 @@ static int32_t mndProcessStreamCheckpoint(SRpcMsg *pReq) {
} }
int32_t numOfQual = taosArrayGetSize(pList); int32_t numOfQual = taosArrayGetSize(pList);
if (numOfCheckpointTrans > tsMaxConcurrentCheckpoint) { if (numOfCheckpointTrans >= tsMaxConcurrentCheckpoint) {
mDebug( mDebug(
"%d stream(s) checkpoint interval longer than %ds, ongoing checkpoint trans:%d reach maximum allowed:%d, new " "%d stream(s) checkpoint interval longer than %ds, ongoing checkpoint trans:%d reach maximum allowed:%d, new "
"checkpoint trans are not allowed, wait for 30s", "checkpoint trans are not allowed, wait for 30s",