The startup inactivity window renewed only on replay, scan, map and attach
work. A new store's prezero and the WAL fence wrote and synced whole
regions with no report, so on a slow disk the window could end inside one
silent step; and the chunk layer's wait for master authority, a wait the
master bounds, ran out the same window.
- storage: phases RecoveryCreate and RecoveryFence; syncedSlices runs a
sized step 4 MiB at a time and reports a slice only after its sync;
prezeroNewStore uses it, and recovery reports the fence's synced bytes.
- durable: create passes RecoveryProgress; AuthorityWait tells the host
when the authority wait starts and ends; Chunk.AuthorityGap names the
projection fields that withhold authority.
- host: recovery_timeout becomes recovery_stalled; waits are counted, the
window pauses while any runs and restarts when the last ends, a stall
latched before stays latched; /status RecoveryWait=awaiting_authority.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The provider refuses the removed names and, under every selector and
before any selector comparison, a volume carrying their magic (SWAW;
SWPW in either header slot), reading the file read-only and never
modifying it. blockvolume --durable-impl and the launcher refuse the
names with the same advice; the chart schema allows walstore only.
- core/storage/smartwal, core/storage/parallelwal and
cmd/sw-block-testutil (whose one command corrupted smartwal records)
are deleted, with the helm smartwal-corruption scenario and the
parallel-walstore gate script.
- The replication harness runs on walstore; tests that ran on a removed
engine only because a stub needed some store move to walstore, and the
state_convergence label test moves to the in-memory BlockStore.
- sw-block cluster.check drops the removed engines' cases.
- Ledger: INV-OPEN-REMOVED-ENGINE-REFUSED-001 and
INV-OPEN-REMOVED-ENGINE-NAME-REFUSED-001, an OpenRefused edge in M1, and
the rows citing the removed tests updated. Docs: block-design 1.3 now
describes the removal, the smartwal deep-dive and figure are gone, the
scripts default to walstore, and the v1.1 notes carry the removal.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The v1.0.1 known limit and the standalone restore steps said fetched chunks
are fetched again after a crash; a restored volume that has only been read
takes no checkpoint, so it fetches all of them again after any restart,
clean included, until a write or its next checkpoint records them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 3759fae784)
At start, the leader master listed this filer and no other. A filer
added within about 15 seconds before the start, or at any time after, is
not detected.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replaces the bound-classification fix with a rule without a clock. A
round passes only when every master answered, none refused, and at least
one listed exactly the configured filer. A master that does not answer,
for any reason and at any time (it stalls, answers DeadlineExceeded
before its deadline, is down, or its address does not parse), leaves the
round unconfirmed, and the masters are asked again. The bound only ends
the asking. Then the start is refused, naming the masters that did not
answer, with "rerun when they answer". The two time tests are replaced
by one rule test with no timing assertion, in both master orders. Price,
stated on the standalone page: a chunk volume does not start while any
master of the filer's group is unreachable.
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>
- 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 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 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>