Skip to content

Commit

Permalink
fixup! Make sinks a variant of collections
Browse files Browse the repository at this point in the history
  • Loading branch information
bkirwi committed Feb 6, 2025
1 parent 3002944 commit d045a42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage-client/src/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -740,12 +740,12 @@ impl<T: Timestamp> ExportState<T> {
cluster_id: StorageInstanceId,
read_hold: ReadHold<T>,
self_hold: ReadHold<T>,
write_frontier: Antichain<T>,
read_policy: ReadPolicy<T>,
) -> Self
where
T: Lattice,
{
let write_frontier = Antichain::from_elem(Timestamp::minimum());
let mut dependency_since = Antichain::from_elem(T::minimum());
for read_hold in [&read_hold, &self_hold] {
dependency_since.join_assign(read_hold.since());
Expand Down
1 change: 1 addition & 0 deletions src/storage-controller/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -954,6 +954,7 @@ where
desc.instance_id,
read_hold,
self_hold,
write_frontier.clone(),
ReadPolicy::step_back(),
);
maybe_instance_id = Some(state.cluster_id);
Expand Down

0 comments on commit d045a42

Please sign in to comment.