fix(stream): check the return values.

This commit is contained in:
Haojun Liao 2025-02-28 15:05:00 +08:00
parent 3892a98e2e
commit 5f6ecab854
1 changed files with 4 additions and 1 deletions

View File

@ -322,7 +322,10 @@ bool taskReadyForDataFromWal(SStreamTask* pTask) {
// check whether input queue is full or not
if (streamQueueIsFull(pTask->inputq.queue)) {
tqTrace("s-task:%s input queue is full, launch task without scanning wal", pTask->id.idStr);
streamTrySchedExec(pTask);
int32_t code = streamTrySchedExec(pTask);
if (code) {
tqError("s-task:%s failed to start task while inputQ is full", pTask->id.idStr);
}
return false;
}