fix(stream): reset the counter.

This commit is contained in:
Haojun Liao 2023-08-30 20:19:51 +08:00
parent 57608e7fff
commit fd2f988cdb
1 changed files with 4 additions and 1 deletions

View File

@ -149,7 +149,10 @@ int32_t tqStartStreamTasks(STQ* pTq, bool ckPause) {
int32_t numOfPauseTasks = pTq->pStreamMeta->pauseTaskNum;
if (ckPause && numOfTasks == numOfPauseTasks) {
tqDebug("ignore all submit, all streams had been paused");
tqDebug("vgId:%d ignore all submit, all streams had been paused", vgId);
// reset the counter value, since we do not launch the scan wal operation.
pMeta->walScanCounter = 0;
taosWUnLockLatch(&pMeta->lock);
return 0;
}