Skip to main content

Module collect

Module collect 

Source
Expand description

Tombstone collection (spec §3.8, gonzalo#203).

A tombstone is what stops a deleted record from resurrecting on the next sync, so purging one is only safe once every peer has synced past the delete. Only the operator knows how long that takes. Collection is therefore explicit, never automatic, and takes the horizon as a required argument with no default. Not to be confused with gc_blobs, which sweeps orphaned code-graph slices.

Structs§

CollectReport
What a collection run did.

Functions§

collect
Purge tombstones under prefix whose deleted_at is at least horizon old.