Expand description
Draining sealed stash chunks against the persist feedback, one function per stash flavor.
Structs§
- Drain
Stats 🔒 - Counts from a single call to
drain_sealed_input_chunkedordrain_sealed_input_paged, used to update metrics.
Enums§
- Time
Class 🔒 - Where a stashed entry’s time falls relative to the feedback frontier.
Functions§
- classify_
time 🔒 - Classify
tsagainstpersist_upper: the single spelling of the drain’s eligibility test. The chunked drain’s probe-collection pass and its classification pass, and the paged drain’s cursor walk, all call this, so the probe set and the classification cannot disagree. Under the operator’s total order,Eligiblemeanstsequals 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: - drain_
sealed_ 🔒input_ paged drain_sealed_input_chunked’s counterpart for the paged flavor, classifying entries the same way but reading prior state through a trace cursor.