Merge pull request #22004 from taosdata/fix/liaohj
fix(stream): add missing status check.
This commit is contained in:
commit
f0ec962566
|
@ -407,7 +407,7 @@ int32_t streamExecForAll(SStreamTask* pTask) {
|
||||||
break;
|
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);
|
qError("stream task wait for the end of fill history, s-task:%s, status:%d", id, status);
|
||||||
taosMsleep(100);
|
taosMsleep(100);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue