INV-VOL-GEOMETRY-FLAGS-RECORD-001. A create-mode start whose
--durable-blocks/--durable-blocksize disagree with the volume record exits 78
(no restart) with a line naming both geometries, before the durable provider
is built, so no local store of the wrong size is created. An existing local
store is never rechecked against the flags (its geometry is checked at
attach, as before); a missing record keeps the create path; an unreadable
record falls through to the attach check.
Tests: TestGeometryFlagsRefusalComparesTheRecord (unit);
TestWrongGeometryFlagIsRefusedBeforeTheStoreIsCreated (real binaries, red on
the previous main: exit 75 after 35 s and a wrong-size store). The cure for a
store an earlier release left stays: TestWrongGeometryCureAsWritten plants
that store from a readable text fixture of a 2129a736 capture (sha256 checked
per file); the operator guide scopes the cure to such a store.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The move to s2, HEAD reclaimed by s2, the forced move, its dry-run
previews (refused with an admissible time, then admitted) and lost-range,
captured from a passing gate run, are read by the default-build check
test; each check also refuses a neighbouring output.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The planned hand-over waits 30 s for the old blockvolume's own exit, the
lease bound the lifecycle chapter states.
TestStandaloneCleanMoveWithoutTheACKIsRefused makes the chapter's
negative check deterministic: the volume is sealed, its blockvolume is
killed (a signal sends no ACK), the lease is revoked with the sealed
generation, and the clean move exits 1 with the documented refusal while
workspace show keeps no ACK. Its output is captured into the fixtures and
read by the shared checks.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Runs the lifecycle chapter's commands in order against real blockmaster,
blockvolume, sw-block and SeaweedFS on loopback: cluster spec and
lifecycle store, adopt, write and flush a block over NVMe/TCP, plain
detach, revoke with the sealed generation, the old process acknowledges
and exits 0 by itself, show the ACK, clean move to the same host (and its
replay), reopen at the new epoch, and the block reads back unchanged.
The checks that read each step's output are shared with a default-build
test that runs them on output captured from the real binaries
(testdata/planned-handoff), each also refusing another step's output.
The NVMe/TCP host runs in the test process: no root, no nvme_tcp.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>