Expand description
Pressure-gated retention (ADR-0028).
A node keeps every record it holds while its disk has room, including the records it is no longer responsible for, and goes on serving them. Leaving a record’s range only makes the record eligible to be erased. The prune passes erase eligible records only while the partition holding the record store is under pressure: farthest from this node first, each after its current close group proves possession, and only until the pressure ends.
This module holds the policy both prune passes share: when the partition is under pressure, with hysteresis so a node erases in spells rather than one record at a time, and in what order eligible records go.
Structs§
- Disk
Pressure - Disk-pressure state shared by a node’s chunk and pointer prune passes.
Enums§
- Record
Kind - Which store a record lives in.