Expand description
Log compaction: collapse ops below the min-ack frontier into snapshots.
collapse_below is the pure GC entry point. It consults an
AckVector to find the min-ack frontier, writes one snapshot per
affected array via a SnapshotSink, then drops the compacted ops from
the log. No I/O beyond the abstract traits.
Structs§
- GcReport
- Summary produced by
collapse_below. - Mock
Snapshot Sink - In-memory
SnapshotSinksuitable for tests in any crate that depends onnodedb-array.
Functions§
- collapse_
below - Compact ops below the min-ack frontier into snapshots, then prune the log.