fix(stream): set sink task status to enable the checkpoint.
This commit is contained in:
parent
ab9490101f
commit
57ef43ba18
|
@ -445,8 +445,11 @@ int32_t streamProcessScanHistoryFinishReq(SStreamTask* pTask, SStreamScanHistory
|
||||||
streamNotifyUpstreamContinue(pTask);
|
streamNotifyUpstreamContinue(pTask);
|
||||||
|
|
||||||
// mnode will not send the pause/resume message to the sink task, so no need to enable the pause for sink tasks.
|
// mnode will not send the pause/resume message to the sink task, so no need to enable the pause for sink tasks.
|
||||||
if (pTask->info.taskLevel == TASK_LEVEL__AGG) {
|
if (taskLevel == TASK_LEVEL__AGG) {
|
||||||
streamTaskEnablePause(pTask);
|
streamTaskEnablePause(pTask);
|
||||||
|
int32_t code = streamTaskScanHistoryDataComplete(pTask);
|
||||||
|
} else { // for sink task, set normal
|
||||||
|
streamSetStatusNormal(pTask);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
qDebug("s-task:%s receive scan-history data finish msg from upstream:0x%x(index:%d), unfinished:%d",
|
qDebug("s-task:%s receive scan-history data finish msg from upstream:0x%x(index:%d), unfinished:%d",
|
||||||
|
|
Loading…
Reference in New Issue