fix(stream): ignore the check status when is ready.

This commit is contained in:
Haojun Liao 2023-10-24 11:38:14 +08:00
parent c99f434706
commit 7cce53f7e5
1 changed files with 7 additions and 4 deletions

View File

@ -91,10 +91,13 @@ int32_t tqStartStreamTask(STQ* pTq) {
continue;
}
if (pTask->status.downstreamReady == 1 && HAS_RELATED_FILLHISTORY_TASK(pTask)) {
if (pTask->status.downstreamReady == 1) {
if (HAS_RELATED_FILLHISTORY_TASK(pTask)) {
tqDebug("s-task:%s downstream ready, no need to check downstream, check only related fill-history task",
pTask->id.idStr);
streamLaunchFillHistoryTask(pTask);
}
streamMetaReleaseTask(pMeta, pTask);
continue;
}