The recovery and attach halves landed together and the joint
recovery+attach Linux qualification passed (7495 PASS, 0 FAIL, race x5
including the attach tests).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The shared progress window's two rows as reviewed on the recovery and
attach pull requests (the recovery half's code and the attach half
landed together on main); the joint recovery+attach Linux qualification
passed, so both read ACTIVE.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A cut recorded its equal-to-HEAD marks only after the whole compare loop,
so a cut that ran out of time kept nothing and the next request compared
every chunk again. After a holder restart a restore target's read-filled
chunks are all candidates of its first cut (the clean-fill records live in
memory only), so at 1 TiB that compare is growing work under one request's
fixed bound. Each equal chunk is now marked at its compare, at the version
the barrier captured and only while the chunk still has it (the same mark
as after the loop), so the next request continues from there.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A v1.0.0 blockvolume can stop with a Go runtime map error during the first
reads of a volume that opens from the object store, most likely a restore
target. No acknowledged write is lost; it is fixed in v1.0.1 and there is no
v1.0.0 patch release.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Within an attach, GetHead's HEAD read and a crashed-session rollback
carry the per-fetch bound like each manifest fetch; a stalled HEAD
read fails the attempt.
- The created-this-start scan reports every inspected entry, not only
candidates (a dense HEAD reports too); the presence save reports its
key preparation; the manifest conversion reports in batches of 256.
- The stalled-fetch tests have their own outer deadline, so a removed
bound fails the test instead of hanging the suite.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
volumeRestore and volumeRestoreAbort read layout ids; each now has its
probe: a restore answer without a valid layout id is unknown and places
nothing, and abort refuses settings naming another layout id.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- GetHead is not one remote call: within an attach it carries the
per-fetch rule (storage.AttachFetch), and the layout remote reads the
root and each segment under chunkAttachTimeout on its own, reporting
each completed segment through the attempt's progress. No bound wraps
the read as a whole, whose segment count grows with the volume.
- The attach reports its local work as it completes: the HEAD copy, the
absent marking, the created-this-start scan, the presence load and
the attach's presence save; the batcher also reports the first
completion and about once a second (completed work only).
- The ledger row names the attach tests; the C.L row states the per-fetch
bound and keeps the joint qualification pending.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The public trace map gains the RestoreCommand module (Run, Start,
AbortVerify, Abort) for cmd/sw-block/volume_backup.go, and
INV-CLI-RESTORE-VERB-001 also names the backup's required-name test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The unit passes SWB_VOLUME_EXTRA_ARGS after its own flags, so --abort
accepts only the exact value volume start writes (--layout-id <id>);
another layout id after it, or a --master or --volume-id override,
refuses with nothing changed.
- A placement refused and then not re-readable is an unknown outcome
(rerun or abort), never "not placed".
- Ledger row INV-CLI-RESTORE-VERB-001 names the guards' tests; the
persisted-state page lists the settings file restore writes and abort
removes, and that backup writes no host file.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The placement step reads the publisher's line (QueryVolumeStatus), which
exists before any lease is granted on it, with the bindings
(QueryWorkspace). A placement refused because the line was published in
between is read again: this exact placement counts as done.
- --abort also checks this host's settings for the target (volume, master,
layout id) before any change; another installation, or a running unit
without settings, refuses with nothing changed.
- volume backup requires --name: a name the command chose would be lost
with its terminal, and the same command could not resume it.
- The fake master answers a deleting or tombstoned target as the master
does (FailedPrecondition, not_admitted) and grants no lease, so every
re-run test runs in the published-before-lease interval.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>