Expand description
waratah blob: maintenance of the registry’s content-addressed blob
store under {data_dir}/{repository}/blobs.
verify is an integrity scan: index identity checks, segment record
CRCs and payload identity, and an orphan-record census. It opens the
store through the same recovery path a registry open runs (a torn tail
past a committed durable length is truncated; the scan itself performs
no writes) — it is not a raw read-only pass, and a missing store is
created empty rather than rejected. The store has no migration path by
design — the pre-two-tier per-file layout was written by an unreleased
build, and a data dir holding it is re-imported instead
(BlobStore::open refuses the layout loudly).
Functions§
- verify
- Integrity scan: see
BlobStore::verify. The store is opened through normal recovery first (see the module docs), then scanned; exits non-zero on any problem, while orphan records are reported as information, not failures.