Skip to main content

Module retention

Module retention 

Source
Expand description

Non-destructive retention planning for sealed event-store run files.

Structs§

RetentionPlan
A non-destructive retention plan.
RetentionRun
A retention decision for one sealed run file.

Enums§

SnapshotAnchorStatus
Snapshot-anchor state used by the retention planner.

Functions§

list_redb_sealed_runs
Lists sealed redb run files with their latest snapshot-anchor status.
plan_redb_retention
Lists sealed redb run files and computes the non-destructive retention plan.
plan_retention
Computes reclaim candidates from sealed runs without deleting anything.