fix(stream): try starting task even the inputQ is full.

This commit is contained in:
Haojun Liao 2025-01-27 00:50:36 +08:00
parent f56aeaf1bd
commit ed03b3a22c
1 changed files with 3 additions and 2 deletions

View File

@ -317,9 +317,10 @@ bool taskReadyForDataFromWal(SStreamTask* pTask) {
return false;
}
// check if input queue is full or not
// check whether input queue is full or not
if (streamQueueIsFull(pTask->inputq.queue)) {
tqTrace("s-task:%s input queue is full, do nothing", pTask->id.idStr);
tqTrace("s-task:%s input queue is full, launch task without scanning wal", pTask->id.idStr);
streamTrySchedExec(pTask);
return false;
}