Merge pull request #22004 from taosdata/fix/liaohj

fix(stream): add missing status check.
This commit is contained in:
Haojun Liao 2023-07-10 13:28:00 +08:00 committed by GitHub
commit f0ec962566
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 {