fix(stream): reset the counter.

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

View File

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