mz_storage_controller

Function swap_updates

Source
pub(crate) fn swap_updates<T: Timestamp>(
    from: &mut Antichain<T>,
    replace_with: Antichain<T>,
) -> ChangeBatch<T>
Expand description

Replace one antichain with another, tracking the overall changes in the returned ChangeBatch.