Expand description
Selects a bounded set of useful room forward extremities.
Leaves are classified by reachability, reference status, origin, event kind, and stream position. Receive and administrative callers share the scoring logic but differ in whether referenced leaves need another sweep.
StructsΒ§
- Candidate π
- Live π
- Prune
Summary - Counts the outcome of one forward-extremity pruning pass.
EnumsΒ§
- Class π
- Partial π
- A leafβs classification before per-server reachability is resolved into
Live::owner_online, kept apart so the reachability query runs once per unique server rather than once per leaf. - Trigger
- Selects the call path that initiated an extremity pruning pass.
FunctionsΒ§
- drop_
order π - Orders live leaves most-droppable first: message before state, redacted before intact, reachable-owner before unreachable, oldest before newest.
- prune_
goal π - Calculates the drop goal for one paced receive-path pruning round.
- select π
- Chooses survivors from the classified leaves. Dangling and referenced leaves
are dropped for free (not counted toward
goal), own leaves are always kept, and the most-droppable live leaves are dropped up togoal, subject to the one-survivor floor.
Type AliasesΒ§
- Servers π