Module consistency
Source - ShardState 🔒
- Parts of a shard’s state that we read to determine if it’s a tombstone.
- Level
- Level of consistency checks we should enable on a testdrive run.
- check_catalog_state 🔒
- Checks that the in-memory catalog matches what we have persisted on disk.
- check_coordinator 🔒
- Asks the Coordinator to run it’s own internal consistency checks.
- check_shard_tombstone 🔒
- Checks if the provided
shard_id
is a tombstone, returning an error if it’s not. - run_check_shard_tombstone
- Checks if a shard in Persist has been tombstoned.
- run_consistency_checks
- Runs consistency checks against multiple parts of Materialize to make sure we haven’t violated
our invariants or leaked resources.
- skip_consistency_checks
- Skips consistency checks for the current file.