fix(stream): enable sink tasks handle the checkpoint.

This commit is contained in:
Haojun Liao 2024-01-15 09:53:15 +08:00
parent e058653e1d
commit d46b5e6c9a
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ int32_t streamSaveTaskCheckpointInfo(SStreamTask* p, int64_t checkpointId) {
SCheckpointInfo* pCKInfo = &p->chkInfo; SCheckpointInfo* pCKInfo = &p->chkInfo;
// fill-history task, rsma task, and sink task will not generate the checkpoint // fill-history task, rsma task, and sink task will not generate the checkpoint
if ((p->info.fillHistory == 1) || (p->info.taskLevel >= TASK_LEVEL__SINK)) { if ((p->info.fillHistory == 1) || (p->info.taskLevel > TASK_LEVEL__SINK)) {
return code; return code;
} }