Complete M7.9b upgrade barrier and durability qualification

Schema v8 binds authority to builds (ADR-0068): acquisition names the
host build and only retained, unretired builds may hold a lease; no
commit may name a retired build; upgrade_barrier retires a build and
fences every holder in one transaction, while build-less pre-v8 hosts
keep working until the first barrier. Tests cover a writer surviving a
failed and then a real online migration, old-writer fencing on every
path, whole-history recovery by the new build, and the M7 qualification
fixture (19.6 s SIGKILL-to-ready under the production lease, no lost
acknowledgements).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-09-29 07:31:04 -04:00
co-authored by Claude Opus 5.5
parent 703f67834f
commit f59cca2c3b
24 changed files with 893 additions and 52 deletions
+17
View File
@@ -235,3 +235,20 @@ database:
It names the exact link whose evidence is missing, even though head recovery
still succeeds. Migration, fencing of old writers, and measured recovery and
batching latency are still M7.9b.
M7.9b (ADR-0068) closes the clone/migration row.
- **Failed migration while serving.** A v8 migration that failed at its last
statement left v7 exactly, and the lease-holding writer kept publishing. The
real migration then committed under that same lease.
- **Old writers.** The upgrade barrier retires the old build and fences every
holder. After it:
- the old writer cannot publish, renew or re-acquire, by either acquisition
form;
- no link naming the retired build can commit, even under a current lease;
- a host of the old image quarantines;
- the new build recovered the whole history and continued.
- **Rejection.** Rule, format and profile changes are refused; no converter
exists.
- **Qualification.** Real SIGKILLs under the production lease were recovered in
19.5–19.6 s against the proposed 60 s target, with no acknowledged input lost
(see engineering/DURABILITY_QUALIFICATION.md).