fix(backup): durable restore gate and resolved install outcomes (review 3a34ae3)
The restore no longer relies on an auxiliary lock session. One install transaction holds the dump, a nonce claim row, fenced leases and retired builds, so the world is unservable until a nonce-checked publish after verification, regardless of connection loss or restarts. A failed install is resolved from the claim (committed, rolled back, or unknown with the target kept unservable and --abandon NONCE to resolve); cleanup only removes what the nonce owns. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -67,7 +67,9 @@ evidence. Dev and stage proceed, as the roadmap allows.
|
||||
`restore-world.sh --in-place --runtime-role ROLE --accept-rewind` restores a
|
||||
bundle under the world's own identity into a replacement database:
|
||||
- It restores the dump's grants (bundles now keep them; ADR-0074 is amended).
|
||||
- It fences every restored lease, so the next owner acquires a newer epoch.
|
||||
- It fences every restored lease, so the next owner acquires a newer epoch. The
|
||||
world stays unservable (every build retired) until verification publishes it
|
||||
(ADR-0074 amendment).
|
||||
- It re-runs the migration rights audit for the environment's runtime role.
|
||||
- It prints a `REWIND` line per region naming the tick it was restored to.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user