Expand description
Store verification helpers for schema-shape and schema-version gates.
Structs§
- Fork
Marker - Explicit marker that state belongs to, or is attempting to enter, a forked lineage.
- Post
Migrate Count Mismatch Failure - Per-table count-mismatch refusal failure for the post-migrate verifier.
- Post
V2Row Population - Per-table v2-row population observed by
count_post_v2_rows_outside_boundary. - PreV2
Backup RowCounts - Pre-migrate per-table row counts captured by the pre-v2 backup manifest.
- Rollback
Fork Report - Result of checking ADR 0033 rollback/fork refusal invariants.
- Rollback
Fork State - Rollback/fork metadata available to a caller that is comparing current state against a candidate state before permitting restore, doctor, or write flows.
- Schema
Version Report - Result of checking schema shape and row-level schema versions against the binary.
Enums§
- Rollback
Fork Failure - Rollback/fork refusal invariant failure.
- Rollback
Fork State Location - Which side of a rollback/fork comparison carried a refusal marker.
- Schema
Version Failure - Schema-shape or schema-version invariant failure.
Constants§
- SCHEMA_
V1_ TO_ V2_ EVENT_ BOUNDARY_ DELTA - Documented delta the v1 -> v2 boundary append applies to the
eventscount.
Functions§
- count_
post_ v2_ rows_ outside_ boundary - Count rows whose
schema_versionis post-v1 (>= 2) outside the schema-migration boundary row. - verify_
post_ migrate_ row_ counts - Compare a post-migrate store against the pre-v2 backup-manifest counts.
- verify_
rollback_ fork_ refusal - Verify pure rollback/fork refusal metadata.
- verify_
schema_ v2_ default_ persistence_ readiness - Verify that an explicitly prepared store is ready for default schema-v2 persistence.
- verify_
schema_ v2_ expand_ shape - Verify that an explicit schema v2 expand/backfill is either absent or complete.
- verify_
schema_ version - Verify required schema shape and row-level schema versions.