Skip to content

Commit

Permalink
interim commit: skip snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel committed Mar 20, 2024
1 parent ab5b7bc commit d853fbd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/stream/src/executor/backfill/arrangement_backfill.rs
Original file line number Diff line number Diff line change
Expand Up @@ -666,8 +666,11 @@ where
let backfill_progress = backfill_state.get_progress(&vnode)?;
let current_pos = match backfill_progress {
BackfillProgressPerVnode::NotStarted => None,
BackfillProgressPerVnode::Completed { current_pos, .. }
| BackfillProgressPerVnode::InProgress { current_pos, .. } => {
BackfillProgressPerVnode::Completed { .. } => {
// If completed, we don't need to continue reading snapshot.
continue;
}
BackfillProgressPerVnode::InProgress { current_pos, .. } => {
Some(current_pos.clone())
}
};
Expand Down

0 comments on commit d853fbd

Please sign in to comment.