Skip to content

Commit

Permalink
Allow with_snapshot to change when reconciling commands
Browse files Browse the repository at this point in the history
  • Loading branch information
bkirwi committed Feb 7, 2025
1 parent b759df4 commit 237410d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/storage-types/src/sinks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ impl<S: Debug + PartialEq, T: Debug + PartialEq + PartialOrder> AlterCompatible
"connection",
),
(envelope == &other.envelope, "envelope"),
(with_snapshot == &other.with_snapshot, "with_snapshot"),
// This can legally change from true to false once the snapshot has been
// written out.
(*with_snapshot || !other.with_snapshot, "with_snapshot"),
(
partition_strategy == &other.partition_strategy,
"partition_strategy",
Expand Down

0 comments on commit 237410d

Please sign in to comment.