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>
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>
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>
CreateVolume and the cluster-spec start check refuse a new volume above
geometry.MaxNewVolumeBytes with ErrVolumeTooLarge, naming the size and the
maximum, before any record or store exists. The check is at creation
only: a volume that already exists keeps opening under the uint32-LBA
limit. The value is a placeholder (MaxVolumeBytes) until it is set from
the measured capacity limit.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tests and ledger only; the product code is byte-identical.
- The cap oracle is the literal 32 (a 32 -> 64 change of the constant
fails it: 64 in flight).
- Every wait is bounded, and each control's cleanup opens its gates,
cancels and joins the commit, so a failing control returns promptly.
- The cancel control holds every admitted lookup past the cancellation
until the test opens their exit: a commit that returns before that did
not join them (a removed-join mutant fails), HEAD takes no update, and
a keep-admitting mutant starts 502 lookups.
- The order control holds the earlier lookup until the later failure has
fully returned and nothing else is in flight (a first-to-finish mutant
fails both ways).
- invariants.md: the wait rows name the caller-held LayoutRemote.mu
(CASHead, CommitPendingSnapshot).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tests only, plus the ledger; the product code is unchanged.
- TestCommitLookupsNeverExceedTheCap: every lookup is held until the cap
is reached; no 33rd starts (a cap-33 mutant fails it).
- TestACancelledCommitStopsJoinsAndWritesNothing: cancelled before any
lookup and mid-flight, the commit returns within a bound with no lookup
still running, admission stopped and HEAD not written (a mutant that
keeps admitting after a failure starts 502 lookups and fails it).
- TestTheEarliestFailureByPositionDecidesTheError: of two failures the
earlier position wins, whichever finishes first (a first-to-finish
mutant fails it both ways).
- invariants.md: the admission and join waits of allOwnedBySession in
C.W, and the scale, detach and control tests on
INV-SNAPK-COMMIT-REACH-001.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
blockmaster holds a best-effort volume on a lost primary; only the
operator's forced failover moves it, which may lose the writes
acknowledged last.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
--chunk-capture-interval defaults to 0 (no timer); when set it must be at
least 5 minutes. The design text still said 15 minutes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A best-effort write waits for no replica, so a replica whose connection
dropped can keep showing healthy while it misses writes; use sync-quorum
when the replicas must hold the data.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A rerun finds the chunks a timed-out request already uploaded and sends
only the rest. With --host-limit-dir set, uploads are paced at about
16 MiB/s per volume and charged for present chunks too, so more than about
4.7 GiB changed cannot finish within 5 minutes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A snapshot takes about 2 s per GiB changed since the last cut; the CLI
waits 60 s by default and the server at most 5 minutes per request.
State the answer codes of a timed-out request, what it leaves, and that a
rerun with the same name is the next step.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Durability states the recovery point: a stopped volume keeps what it
acknowledged; a lost host comes back from its last cut, which with the
defaults can be up to a day old; --chunk-capture-interval (at least 5
minutes) or a snapshot before risky work makes it newer.
- Kubernetes is an alpha in v1.0.0 (lab clusters, not production; no
backup, snapshot or restore claimed), and its CSI node's plain connect
holds a pod's I/O about 600 s, or some 13 minutes for a powered-off node.
- The SeaweedFS filer is a single point of availability for cuts,
snapshots and moves.
- The connect waits say which case each is for: 181 s for a stopped
holder with its host up (the standalone guest), 464 s for a powered-off
host and a guest on another host.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A refused restore answers not_admitted after a misleading "layout store
not ready:" prefix and leaves the target name bound (target_exists):
restore under another name.
- A delete refused with snapshot_has_dependents has already reserved the
volume: it does not serve again.
- A volume created at run time and not in the cluster spec is served only
with --lifecycle-product-loop-interval set.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The release note for v1.0.0: the single-replica walstore-chunk volume is
the supported configuration (store layout, upgrade, durability and
start-up, cleaning, authentication, limits, what is not in the release,
operator rules, known limits), and replicated volumes are a preview with
their own note. Every flag, default, limit, exit status and refusal text
named here was checked against the release candidate's code.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v1.0.1 is planned to support RF3 sync-quorum installed on hosts (writes
continue through one replica's fault, which returns by itself) and RF2
sync-quorum with its limit (no acknowledged write lost, automatic failover,
writes stop while either replica is out); sync-all and Kubernetes RF3 stay a
preview; a partitioned old primary may serve older reads until its lease
ends.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v1.0 is two designs: the single-replica walstore-chunk volume with the
object store (snapshots, restore, moves, object-store copy) and replicated
volumes on local stores without any of those. walstore-chunk refuses
replication at start and on any assignment with replica slots, because a
chunk snapshot takes its position from the local log, which replicas may
not hold. The preview section and the release note say so.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Acknowledged data is kept in the acknowledging modes only; best-effort
can lose the writes acknowledged last in a failover.
- Wipe and add again is written out (stop the unit, clear its
--durable-root, start it again; the replica rebuilds empty) and marked
as not a tested procedure in this preview; an interrupted re-add needs
another wipe.
- --wal-retention-lsns does not help in this release.
- Kubernetes has no remedy for a left-out replica in this preview.
- The release note says no store format change is planned for the
release that lifts the preview, as a plan, not a guarantee.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The operator guide gains "Replicated volumes (preview)", the standalone
page's replicated section points to it, and the release notes gain a
note. The limits, in operator terms: under a writing guest a replica that
misses writes (restarted, or fenced by a failover) is not caught up by
itself and must be wiped and re-added; a durability shortfall reaches the
guest as an immediate I/O error, not a wait; sync-all refuses writes while
any replica is down; a target that is no longer the primary does not fail
the guest over to another path (no multipath in v1.0); the same holds on
Kubernetes RF3. Acknowledged writes read back intact throughout.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The failover text covered only a lost host. When only the primary's
holder stops, the guest is still running and its I/O waits and then fails
as described (or completes if the holder restarts first); either way the
guest is started on the new primary's host after a failover.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A standalone guest runs on the volume's primary host and goes down with
it, so the failover step is to start the guest on the new primary's host,
not to disconnect a controller first; the disconnect step is dropped. Both
measured timings stay as facts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Kernel defaults are 60 attempts (600 s / 10 s): about 600 s when the
holder's host refuses the connection, and some 13 minutes (60 x (10 s +
the ~3 s connect timeout)) when it is unreachable, marked derived. The
Kubernetes paragraph says the same instead of "up to 600 s".
- Each case names its deployment: a standalone guest connects over
loopback and meets the stopped-holder case and the disconnect step; the
unreachable-host case is a guest on another host, in v1 a Kubernetes pod.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Measured with the guide's options (ctrl-loss-tmo 180, reconnect-delay 2,
fast_io_fail_tmo off): a stopped holder process refuses each attempt at
once, and a pending write fails with EIO after 181.5 s (90 attempts 2 s
apart); a powered-off or unreachable host answers nothing, each attempt
waits for the connect timeout (about 3 s), and the write fails after
464 s (kato + 90 x (2 s + connect timeout)). Linux bounds the retries by
count, not by time.
After a failover the guest's first step is nvme disconnect of the lost
primary's controller: its pending I/O then fails at once (EIO 1.5 s
after the disconnect) instead of after up to 464 s.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The operator guide says what to do when a snapshot answers head_conflict
(retry with the same name) and, in this release, when that retry answers
internal "not in HEAD after its commit" (retry once more): the data is
committed either way and the name exists only after a request succeeds. A
retry that names the snapshot at once is planned for 1.0.1.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>