Skip to main content

Module upsert_stash_pager

Module upsert_stash_pager 

Source
Expand description

Pager for the upsert-v2 source stash.

This draws from the same process-wide TieredPolicy budget pool as the compute column-paged batcher — there is one budget and one underlying mz_ore::pager — but whether the stash uses it is gated by storage’s own enable_upsert_paged_spill flag, independently of compute’s enable_column_paged_batcher_spill. The shared pool’s budget / backend / codec are configured by compute’s apply_tiered_config (storage and compute run in the same clusterd process).

Statics§

PAGER 🔒
Active pager handed to upsert source-stash batchers. Defaults to disabled (every chunk resident) until set_enabled turns it on.

Functions§

pager
The current upsert-stash pager. Cheap: clones the inner Arc.
set_enabled
Enable or disable the stash’s use of the shared column pager. When enabled, the stash spills through the shared budget pool; when disabled it keeps every chunk resident.