Skip to main content

Module drain

Module drain 

Source
Expand description

Draining sealed stash chunks against the persist feedback.

Structs§

DrainStats 🔒
Counts from a single call to drain_sealed_input_chunked, used to update metrics.

Enums§

TimeClass 🔒
Where a stashed entry’s time falls relative to the feedback frontier.

Functions§

classify_time 🔒
Classify ts against persist_upper: the single spelling of the drain’s eligibility test. The chunked drain’s probe-collection pass and its classification pass both call this, so the probe set and the classification cannot disagree. Under the operator’s total order, Eligible means ts equals the frontier’s one element.
drain_sealed_input_chunked 🔒
Process sealed chunks from the batcher, classifying each entry by its timestamp relative to persist_upper: