Skip to main content

list_redb_sealed_runs

Function list_redb_sealed_runs 

Source
pub fn list_redb_sealed_runs(
    base_dir: &Path,
    instance_id: &str,
) -> Result<Vec<RetentionRun>, EventStoreError>
Expand description

Lists sealed redb run files with their latest snapshot-anchor status.

Running manifests are excluded so a later destructive phase cannot reclaim a live or crash-recovery-domain run by accident.

ยงErrors

Returns EventStoreError when manifest listing or sealed-run anchor inspection fails.