Complete M7.7 recovery verification before readiness
ADR-0065: before any readiness, recovery now verifies the head's tail. The trace object must exist with its manifest digest, its header must bind profile, region, predecessor and range; the predecessor (schema v6 load_region_commit) must hash to the digest the head names; replaying the trace from the predecessor's verified payload must reproduce every report and the exact head bytes; and trace-derived decisions must equal the head's durable decisions. Missing, corrupt or non-reproducing tails quarantine (RecoveryError::tail); nothing older or empty is served. Test-only crash seams (HostConfig::crash_hook, PublishHooks) and evo-server --crash-at deliver real SIGKILL at before-upload, before-transaction, after-commit and after-ack. The kill matrix, a SIGSTOP/SIGCONT stale owner and damaged-head startups all behave as the durability contract requires; successors verify before readiness. Validated: PostgreSQL suites under GCC Release, clang-tidy and ASan/UBSan; tail-skip and replay-equality mutations each caught. No Docker/Gitea CI, production-lease kill test or deployment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -567,3 +567,12 @@ M7.6 implemented and locally qualified (2026-09-28), under ADR-0064.
|
||||
- `evo-server` passed real SIGTERM drain and SIGKILL tests, with successor
|
||||
recovery.
|
||||
Next: M7.7 recovery verification at every kill boundary.
|
||||
|
||||
M7.7 implemented and locally qualified (2026-09-28), under ADR-0065.
|
||||
- Before readiness, recovery replays the head's trace from its predecessor's
|
||||
verified payload, requires the exact head bytes and decisions, and
|
||||
quarantines on any missing or corrupt tail. Schema v6 adds the read-only
|
||||
commit lookup.
|
||||
- Real SIGKILL at five boundaries, a resumed SIGSTOPped owner, and damaged heads
|
||||
all behave as the crash matrix requires.
|
||||
Next: M7.8 operations endpoints and dev image.
|
||||
|
||||
Reference in New Issue
Block a user