Expand description
() → PruningWatermarks.
Singleton row that holds the lowest still-available tx_seq
and checkpoint_seq. Drives the bitmap CFs’ compaction
filters and feeds available_range requests.
The bitmap CFs need to know the current tx_seq floor at
compaction time, which runs in a RocksDB background thread
without access to the schema. The pattern used here:
- A process-wide
Arc<AtomicU64>(tx_seq_floor) holds the current floor. - Bitmap CF
optionsinstall compaction filters that clone theArcand read the atomic on every key they consider. - Indexer pipelines that advance pruning call
super::RpcStoreSchema::set_pruning_floorafter their batch commits, so the on-disk row and the atomic agree. - On startup callers run
super::RpcStoreSchema::refresh_pruning_atomicsonce to load the persisted floor into the atomic.
Structs§
- Watermarks
- Caller-facing view of the pruning watermarks.
Constants§
Functions§
- options
- store
- Build the singleton
(Key, Value)pair recording the current pruning floor. - tx_
seq_ floor - Process-wide
tx_seqpruning floor used by the bitmap CFs’ compaction filters. Lazily allocated on first access.