Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Backport 0.57.9 reverts" #20202

Closed
wants to merge 10 commits into from
11 changes: 5 additions & 6 deletions src/compute/src/extensions/arrange.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,11 @@ where
let mut trace = arranged.trace.clone();
let operator = trace.operator().global_id;

// We don't want to block compaction.
let empty = Antichain::new();
trace.set_logical_compaction(empty.borrow());
trace.set_physical_compaction(empty.borrow());
teskje marked this conversation as resolved.
Show resolved Hide resolved

let (mut old_size, mut old_capacity, mut old_allocations) = (0isize, 0isize, 0isize);

arranged
Expand All @@ -225,12 +230,6 @@ where
output.session(&time).give_container(&mut buffer);
}

// We don't want to block compaction.
let mut upper = Antichain::new();
trace.read_upper(&mut upper);
trace.set_logical_compaction(upper.borrow());
trace.set_physical_compaction(upper.borrow());

let (size, capacity, allocations) = logic(&trace);

let size = size.try_into().expect("must fit");
Expand Down