Review follow-up. weed mini gets -ip.bind=127.0.0.1 (its -ip alone is the
advertised address; the bind defaulted to 0.0.0.0), every listener's port
explicitly (master, volume and filer HTTP and gRPC), all preflighted and
moved by --port-shift, and its S3, WebDAV and admin UI off. --size refuses
an overflowing value. The dir is claimed by one exclusive mkdir (or must
exist with --reuse) and held by a lock for the run, before any write.
Startup and the layout id wait stop at once when any child dies.
Tests: the supported commands pinned value for value, with controls; a
busy weed port; port shift; one mini per dir; weed dying during startup;
the process tests register their bounded cleanup before any assertion.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review follow-up. The next steps name only commands this binary runs (the
workspace show and chunk snapshots checks, a snapshot), each parsed by a
test; no shell line until the shell exists. Without weed, the missing
chunk store is mini's own sentence, not a check that did not run. With
the connect command and again at stop, mini says to unmount and nvme
disconnect first; at stop it says the data stays in --dir and --reuse
resumes it; one line names it a trial setup (one host, loopback, no
authentication).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sw-block mini starts weed mini (when a weed binary is found: --weed, else
PATH), blockmaster and one blockvolume (v1) on loopback with the
standalone page's flags: walstore-chunk with the chunk control endpoint
and the workspace lease when weed is there, walstore with a banner in
its first lines when it is not. It prints every command it runs, refuses
an existing --dir unless --reuse and a busy port, never runs sudo or
nvme connect (it prints the connect command and the next steps), and
stops every child, the last started first, on Ctrl-C or when one exits.
A test pins mini's walstore commands to the page's swb_start block and
every chunk flag to a flag the page documents.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The lifecycle example restored into v3 and then deleted v2, which a
reader following it does not have; it now deletes v3. Install says the
page's commands are for v1.0.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Install from the v1.0.0 image (or build from the tag), not a main
commit's image; the single-replica chunk path is supported in v1.0.0 and
replicated volumes are a preview; the holder's cleaning replaces the old
GC text; the fork measurement is dropped, and the lifecycle row is
labelled as a pre-release run.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The NVMe initiator renews its deadline (nvmeIODeadline, 60 s) before every
I/O command, so it bounds each command instead of the connection's whole
life: requireBlocks' 65,536 reads no longer race one dial-time deadline.
- reviewBindingHostBeforeStart's context is a hang guard for the whole test
(60 s, was 10 s), so a slow host's setup does not use up the time the
later calls and the successor probe need.
TestNVMeInitiatorDeadlineBoundsEachCommand and
TestWorkspaceRPCSameHostForcedRecoveryOutlivesASlowSetup pass; test-only,
no product change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two tests fail on a slow host while CI passes (a WSL run with its scratch
on a mounted Windows drive). Both fail because a fixed bound in the test,
not the product, runs out:
- TestWorkspaceRPCSameHostForcedRecoveryRecordsLoss: the successor probe and
the later calls run under reviewBindingHostBeforeStart's 10 s context, and
a slow setup uses it up ("signal: killed"). The new
TestWorkspaceRPCSameHostForcedRecoveryOutlivesASlowSetup pauses 11 s
before the probe (both clocks the test reads are fake, so no lease
changes) and fails on main on any host.
- TestCutoverWriteSnapshotKillRestartRestore: the NVMe initiator sets one
deadline at dial (60 s) and requireBlocks then reads all 65,536 blocks on
that connection. The new TestNVMeInitiatorDeadlineBoundsEachCommand shortens
the deadline (now the variable nvmeIODeadline) to 2 s, idles 2.5 s and
reads one block: it fails on main on any host.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ops chunk verify does not read the v1.0.0 volume directory layout: on a
healthy volume it reports a missing VOLUME, or (by its full name) false
identity findings. Remove its steps and claims from the guides and the
README, and state the limit in the release note.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
countingRemote.Put updated its counts and seen map with no lock while
the chunk layer's upload workers call Put in parallel; a main run aborted
with "concurrent map writes". The counts are now under a mutex, and the
read of the upload count inside the cut is too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The untested replica wipe needs a --durable-root that holds that volume
only: the data files' names can match another volume's in a shared root.
It removes the data files and the epoch table and keeps the replica floor.
Exit 75's causes are examples, assignment_timeout added. The blocked reads
with kernel defaults are 552 s and 614 s as recorded; the slowest guest
answer during a store outage was measured once and its record not kept.
The cut's ~30 s answer is the chunk upload deadline.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Removed GC and --grace text replaced by the holder's cleaning; the replica
wipe scoped to that volume's own files; outcome_unknown on a restore
target's delete means I/O stopped until settlement; the recovery point is
the last successful snapshot, not a one-day bound; snapshots above about
150 GiB changed need several requests and the schedule retries by itself;
Kubernetes timings scoped to NVMe/TCP; exit 75's causes; the restore CLI
row; the per-cut metadata depends on the volume name length; connection
age with gRPC jitter; the cluster-spec identity cure needs a restart;
throughput and memory figures qualified; the upgrade wording.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A plain detach whose final cut ran to the caller's deadline settled on
that already expired context: its first remote call failed and the caller
was told the outcome was unknown, while the background settlement found
nothing committed and resumed serving a moment later.
With a caller deadline, the cut is now cancelled min(4 s, a quarter of
the bound) early and the settlement runs on WithoutCancel(cutCtx) up to
the deadline, the shape the live detach already uses. Outcomes are
unchanged: an undecidable settlement still answers outcome unknown.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MaxNewVolumeBytes is 256 GiB (65,536 chunks of 4 MiB), derived from the
measured number of chunks a commit checks within one 2 s update of HEAD,
halved and rounded down. The release note states the limit, why, that a
restore target takes its source's size, and that it is planned to be
removed in 1.0.1.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>