A restore whose source is itself a restore target now names the master's
typed reason, as the page says, instead of the generic not_admitted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- GetVolume reports a restore target's recorded restore tuple (source
volume, snapshot, create request id): three additive read-only fields
filled from the lifecycle record. --abort reads it before any change
and refuses another restore's target, a plain volume, or a record with
no tuple (a blockmaster before v1.0.1) with nothing changed.
- restore reads the placement (QueryWorkspace) before placing: once the
authority line is published the master refuses any placement, so a
line for this replica with this binding is this restore's placement,
and a line for anything else refuses naming the abort.
- backup labels its snapshot with its request and accepts only an answer
carrying that label (the holder answers an existing name with the
snapshot already there); every printed fact must be present.
- Tests run the production volume-delete and release against the layout
catalog: dependent removal, the tombstone refusal, interrupted aborts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The release fallback keys on volume_not_found, which also names a volume
the master does not know; the abort resolves the target at the master
first, so the code that follows is the layout's (no HEAD). After the
release path the master keeps the restore's not-ready record; the abort
prints that, the page says it, and the crash table checks the text on
the no-HEAD rows only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Whole-job commands over existing calls, with no state of their own:
- volume backup: the holder's snapshot, request id derived from the
volume and the name; the same command resumes the same request.
- volume restore: the master's restore create (request id derived from
target, source and snapshot), then binding and placement once the
target is store-ready, then volume start's steps.
- volume restore --abort: stop and disable the target's unit, remove its
settings, then delete it (volume-delete with HEAD, release which
tombstones without HEAD); the dependent is released only after the
target can no longer serve.
Every failure names the exact command to rerun or to abort. bindAndPlace
moves out of ops volume create so both use the same two calls.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The no-new-file claim is narrowed to the stores the daemons read. A fourth
table lists the files the sw-block commands write on a host (the volume's
settings file and mini's record). The volume records row says a restore
target's record carries its source tuple, as in v1.0.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every state the product writes and reads back after a restart, in three
groups (the volume's remote image, blockmaster's stores, a volume host's
files): where it lives, who writes and reads it, its encoding and what a
reader does with an unknown version, whether a test pins the v1.0.0 bytes,
and whether v1.0.1 changed it. The upgrade page's format sentence now covers
all three groups and links the list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every acknowledged HEAD write is logged with its cause, generations and
duration; a lost answer is logged at WARN as an unknown outcome. The section
names the causes and what a run of unknown outcomes points to.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A restore from a restore target's snapshot now refuses with the typed
code; the two ladder checks still read the old not_admitted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The restore page now names restore_source_not_own for a snapshot of a
restore target; a v1.0.1 release note lists both codes and calls out that
an unknown volume moves from bad_request (exit 2) to volume_not_found
(exit 1).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The regression row C.4 asks for: the chunk CLI's restore_source_not_own
(from the master's typed reason) and volume_not_found, with their tests;
the refusal itself stays INV-CREATE-ONE-IDENTITY-001's.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The master's refusal of a restore whose snapshot names another volume's
chunks carries a typed reason (an ErrorInfo detail, RESTORE_SOURCE_NOT_OWN)
and the CLI maps it to its existing JSON code restore_source_not_own
instead of the generic not_admitted. A volume the master does not know
(NotFound from the resolve) exits with volume_not_found. A client decides
by these codes, never by message text.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The sections follow cluster.check's checks in start-up order; each begins with the cure the command prints, then what you see and the fix, linking the existing guide sections. The HEAD-write log section takes the merged format later.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A holder whose own grant ran out while the stored horizon is still ahead,
and a live holder renewing at the same epoch, are granted at once, also
right after a blockmaster restart while they renew within the lease TTL.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The page said the refused request still binds the target's name; a restore
refused for good removes its pending record, so the name stays free and a
restore from the source's own snapshot may use it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A live holder inside its lease renews at once after a blockmaster restart,
at the same epoch; the floor of 30 s plus the skew after the restart applies
only to an expired lease's re-grant and to a forced move.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A forced move to another holder after a blockmaster restart is refused
until restart + TTL + skew, even after the old lease's expiry plus skew has
passed; the same live holder renews at once. Pins the restart rule
(authority.go load) together with the forced barrier.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>