diff --git a/source/libs/stream/src/streamExec.c b/source/libs/stream/src/streamExec.c index 89fcecda39..fc0003e20a 100644 --- a/source/libs/stream/src/streamExec.c +++ b/source/libs/stream/src/streamExec.c @@ -407,7 +407,7 @@ int32_t streamExecForAll(SStreamTask* pTask) { break; } - if (status != TASK_STATUS__NORMAL && status != TASK_STATUS__PAUSE) { + if (status != TASK_STATUS__NORMAL && status != TASK_STATUS__PAUSE && status != TASK_STATUS__STOP) { qError("stream task wait for the end of fill history, s-task:%s, status:%d", id, status); taosMsleep(100); } else {