verify

Verify snapshot integrity based on ManifestDB + CAS.

Back to CLI Commands

verify checks snapshot integrity for the selected snapshot.

It recomputes the lightweight Tripwire(meta) hash for new contents only when the snapshot has recorded new_file_content_hash_* values. It does not hash file bytes or validate CAS chunk bytes.

Usage
rinne verify [--space <space>] [--parallel <N>] <selector>
Options
--space <space>
Use the specified space instead of the current space.
--parallel <N>
Override the max degree of parallelism. If omitted, config.defaultParallelism or the built-in default is used.
Examples
Verify the latest snapshot in the current space
rinne verify '@0'
Verify a snapshot in another space
rinne verify --space main '@0'
Override parallelism
rinne verify --parallel 4 '@0'
Notes
  • Selectors accept @N, full ids, and unique prefixes.
  • This command operates on snapshot metadata and recorded content hashes.
  • In a format v2 repository, verify also checks that each chunk lies inside its pack file and compares the chunk index with the index stored at the end of each pack. An unreadable pack index or a mismatching row is reported as a failure; see repair reindex.