Skip to main content

release_mirror_pending_rows

Function release_mirror_pending_rows 

Source
fn release_mirror_pending_rows(mirror_pending_rows: &AtomicU64, rows: u64)
Expand description

Releases rows of the pending mirror budget.

Every release mirrors the reservation it hands back, so a well-behaved release never subtracts more than is pending; the saturating update only keeps a duplicated release from wrapping the shared budget around.