Skip to content

Commit

Permalink
if snapshot empty still finish
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel committed May 19, 2023
1 parent cbd8f08 commit 3feb4d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stream/src/executor/backfill.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ where
// Whether we still need to backfill
let to_backfill = !is_finished && !is_snapshot_empty;

if !to_backfill {
if !is_finished && is_snapshot_empty {
// Directly finish the progress as the snapshot is empty.
self.progress.finish(first_barrier.epoch.curr);
}
Expand Down

0 comments on commit 3feb4d3

Please sign in to comment.