From d46b5e6c9a6be8676eeb48bb92c7abc72673869b Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Mon, 15 Jan 2024 09:53:15 +0800 Subject: [PATCH] fix(stream): enable sink tasks handle the checkpoint. --- source/libs/stream/src/streamCheckpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/stream/src/streamCheckpoint.c b/source/libs/stream/src/streamCheckpoint.c index fb9d111124..cb3f7a3504 100644 --- a/source/libs/stream/src/streamCheckpoint.c +++ b/source/libs/stream/src/streamCheckpoint.c @@ -295,7 +295,7 @@ int32_t streamSaveTaskCheckpointInfo(SStreamTask* p, int64_t checkpointId) { SCheckpointInfo* pCKInfo = &p->chkInfo; // 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; }