fix(stream): ignore the fill-history tasks.
This commit is contained in:
parent
65eaa9b15f
commit
5d23df100c
|
@ -75,7 +75,12 @@ int32_t tqSetStreamTasksReady(STQ* pTq) {
|
|||
for (int32_t i = 0; i < numOfTasks; ++i) {
|
||||
SStreamTaskId* pTaskId = taosArrayGet(pTaskList, i);
|
||||
SStreamTask* pTask = streamMetaAcquireTask(pMeta, pTaskId->streamId, pTaskId->taskId);
|
||||
if (pTask == NULL || pTask->info.fillHistory == 1) {
|
||||
if (pTask == NULL) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (pTask->info.fillHistory == 1) {
|
||||
streamMetaReleaseTask(pMeta, pTask);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue