The resume command (now on its own line), the connect and disconnect
commands and the logs path quote the dir and NQN for a POSIX shell, so a
--dir with a space or a quote gives a line that runs as printed. Tests:
shQuote round-trips through a shell-word split; the printed resume line,
split as a shell splits it, reaches a spaced dir's recorded run, while
the unquoted line does not.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A run started with --bin records that directory (absolute) in mini.json;
--reuse loads the record before any binary lookup, so a bare --reuse
finds the same blockmaster and blockvolume, and a --bin that differs from
the record is refused.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review follow-up. weed mini always runs its admin server (-admin.ui=false
only hides the UI): its HTTP and worker gRPC ports are now set,
preflighted and shifted, and its legacy listener pair is off
(-admin.port.legacy=0); mini owns 13 ports. A fresh start records the
run's size, port shift, mode (its weed) and NQN in <dir>/mini.json;
--reuse starts that run again, refusing a flag that differs from the
record, a recorded weed that is gone, and a walstore run while a weed is
found (never a silent change of mode).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
install unlinks and copies, so a unit starting during the copy could find a partial file; a staged file renamed in the same directory is atomic. The same for blockmaster and the CLI.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The documented restart without a hand-over is the procedure; the cut is recommended, not required; seal and move stay optional.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Measured with SeaweedFS 4.53: the S3 sink copied the bytes but no entry attribute, the copy did not open, and three attribute-only updates of a 4 MiB chunk sent three full uploads. The unmeasured remote-storage and second-filer statements are dropped.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The S3 backup sink loses the entry attributes on the way back and re-uploads whole chunks on each entry update; a second filer copy is consistent only for a sealed, idle volume after it caught up. Snapshot export and import are planned for v1.0.2.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11-23% is the block disk with its syncfs against the local disk with its syncfs, for npm ci, git clone and the 100,000-file untar; untar of 5,000 files is about 2.2 times.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The workload rows are a pre-release walstore build timing the operation
itself; the page and the measurements give the figures with the final
syncfs too (11-23% for the README rows; 4-36x against the FUSE
prototype, now described as such). The recovery point is 'normally about
a day', not a bound. A write does not wait on SeaweedFS except a restored
volume's first fetch of a chunk. Ownership names lease admission and the
one-blockmaster rule beside the HEAD fencing. The fault-injection record
states its scope and the night's other failures. The comparison table
leaves the page until others' names and sources can be public.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With the default settings a lost host loses up to about a day of writes:
the pitch and the first line of status say so, with the flag that
shortens it. The fsync point is scoped to the serving host. The FUSE
factor is one implementation on the same host, in its own point. The
chart and table lead with NVMe/TCP (ublk is not a v1.0.0 frontend); the
diagram names NVMe/TCP or iSCSI and the daily default. The chart's axis
fits every bar, and the script refuses a value beyond it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The page leads with what the product is for and a diagram of the write
path and the background path; install and the first check come next;
then why (each point linked to its evidence), the measured chart and
table, a comparison by design category, and status and limits. The
remaining sections are kept as they were.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The hero shows the write path (acknowledged on the local WAL) and the
background path (cuts to SeaweedFS, HEAD conditional update), with light
and dark colours. The chart is drawn from a checked-in CSV by
scripts/readme-chart.py (--check fails when an SVG is stale).
workspace-measurements.md gains the same run against a FUSE file system on
the same host and the release candidate's fault-injection durability count.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The operator guide's recovery point and the upgrade page's cut step say that systemctl stop and restart publish nothing, so the cut runs first.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A volume host's upgrade is a restart on the new binary: install it once
per host, then for each volume a cut (best effort) and a restart of its
unit, which replays the WAL and serves again within its lease. Any holder
that restarts after the swap comes up as v1.0.1, which is supported.
Seal-and-move stays as an optional alternative.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Right after the upgrade, verify without --orphans: v1.0.0 left old roots
and segments that v1.0.1's cleaning removes over its first passes; the
orphan check runs after that. The binary is replaced with install (a new
file), once per host. The seal runs with v1.0.0's limits, which the
snapshot before the upgrade keeps small, and a repeated seal is safe. The
start command is ready before the move; the v1.0.0 CLI works in the mixed
window; the release-note link waits for the note.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The documented procedure: blockmaster first, then each volume host one
at a time through the planned return to the same host with the binary
swap in the middle, the CLI last; resuming after an interrupted step;
downgrade not supported, and never serve a volume above 256 GiB with
v1.0.0.
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 record now holds the HEAD ref the chunk was filled from as well as its
version, and holds only while both are unchanged, so a HEAD that no longer
names that ref makes the chunk a candidate whatever replaced it. The
version at the fill's start is read under the end check's lock.
Guard enumeration: a write, a flushed write, single- and multi-block
batches, a replicated entry and a recovery each bump the chunk's version
and make it a candidate again; a BASE install ends every record.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A fresh-from-HEAD volume (a restore target) fills a chunk from HEAD on
read, but its owned-map entry stays UNKNOWN, so every filled chunk was a
cut candidate: the next cut re-read and re-hashed it locally only to find
HEAD's bytes. A target read back in full made its detach's final cut as
long as reading the whole volume, with nothing to upload.
fillOnce records the chunk's version when it filled the chunk wholly from
HEAD with no local block and no mutation during the fill; captureCandidates
does not count UNKNOWN alone for such a chunk while that version holds.
Memory only, reset by a BASE install; the UNKNOWN bits are untouched.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>