From d37418840cb422613f96d3670ad5c442b3b1c23a Mon Sep 17 00:00:00 2001 From: pingqiu Date: Sun, 29 Nov 2026 16:44:41 -0800 Subject: [PATCH 1/3] docs: supported replicated volumes and restore independence come in a later release Co-Authored-By: Claude Opus 5.5 --- seaweed-block/docs/operator-guide.md | 2 +- seaweed-block/docs/releases/replicated-volumes-preview.md | 2 +- seaweed-block/docs/standalone-deployment.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index c1afee580d..432f4331bb 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -449,7 +449,7 @@ acts. The limits, as they show on a running system: In the acknowledging modes, acknowledged writes were read back intact in every run that found these limits. What the release supports without these limits is the single-replica volume. -**Planned for v1.1.0.** Supported replicated volumes are planned for v1.1.0; v1.0.1 keeps every replicated +**Planned for a later release.** Supported replicated volumes are planned for a later release; v1.0.1 keeps every replicated configuration a preview. In every replicated configuration, an old primary cut off from blockmaster by a partition may keep serving reads of older data until its lease ends. diff --git a/seaweed-block/docs/releases/replicated-volumes-preview.md b/seaweed-block/docs/releases/replicated-volumes-preview.md index 7c65dc2caa..0a5a00b84f 100644 --- a/seaweed-block/docs/releases/replicated-volumes-preview.md +++ b/seaweed-block/docs/releases/replicated-volumes-preview.md @@ -26,7 +26,7 @@ writing guest: 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. -**Planned for v1.1.0.** Supported replicated volumes are planned for v1.1.0; v1.0.1 keeps every replicated +**Planned for a later release.** Supported replicated volumes are planned for a later release; v1.0.1 keeps every replicated configuration a preview. In every replicated configuration, an old primary cut off from blockmaster by a partition may keep serving reads of older data until its lease ends. diff --git a/seaweed-block/docs/standalone-deployment.md b/seaweed-block/docs/standalone-deployment.md index 7e2f7c166d..04400461b2 100644 --- a/seaweed-block/docs/standalone-deployment.md +++ b/seaweed-block/docs/standalone-deployment.md @@ -953,7 +953,7 @@ A restore makes a new volume from a snapshot. The new volume reads every chunk i - **v2 never becomes independent of the source snapshot**, not even after its whole device has been read: the snapshot stays pinned while v2 exists and counts toward the source's limit of 10 snapshots, and the source volume - cannot be deleted before v2. Making a restored volume independent is planned for v1.1.0. + cannot be deleted before v2. Making a restored volume independent is planned for a later release. - **The source snapshot cannot be deleted** while v2 exists: `ops chunk snapshot-delete` is refused with `snapshot_has_dependents`. Delete v2 first (see [Delete a volume](volume-lifecycle.md#delete-a-volume)); the snapshot can be deleted after that. - **A snapshot of v2 cannot be restored:** it names the source's chunks. The restore exits 1 with `"code":"restore_source_not_own"` (from the master's typed reason, not its text) and a message ending in `snapshot names another volume's chunks: ""`. The refused restore changes nothing: the target name stays free, and a restore from the source's own snapshot may use it. - **v2's own writes stay in v2:** the source's snapshot never changes. From 389bca6415c0ab3fee852fdc439e3bbac9112ef2 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Sun, 29 Nov 2026 16:56:20 -0800 Subject: [PATCH 2/3] docs(standalone): do not move or detach other volumes while a large restore is being created Co-Authored-By: Claude Opus 5.5 --- seaweed-block/docs/standalone-deployment.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/seaweed-block/docs/standalone-deployment.md b/seaweed-block/docs/standalone-deployment.md index 04400461b2..3b373b7194 100644 --- a/seaweed-block/docs/standalone-deployment.md +++ b/seaweed-block/docs/standalone-deployment.md @@ -940,6 +940,8 @@ A restore makes a new volume from a snapshot. The new volume reads every chunk i This creates `v2` from the snapshot and prints one JSON document. It is idempotent by `--request-id` (a generated id is printed when you omit it); reuse it to retry an uncertain result. `--master` is required: it resolves each volume's layout id. + While a large restore is being created, do not move or detach other volumes; a move that fails then is retried after the restore completes. + The JSON `target` is the store directory, `"target":"v2-"`, where `` is the first eight hex digits of v2's layout id. The public volume name remains `v2`: keep using `--volume v2`, `--source v2`, `blockvolume --volume-id v2` and status queries with `volume=v2`. The directory printed in the result is not a replacement name for those arguments. Resolve v2's full layout id through the master for `blockvolume --layout-id` as described [above](#resolve-the-local-volumes-layout-id). 3. **Start v2's blockvolume** with the normal standalone command, its own volume id, endpoints and local root, the source's geometry (`--durable-blocks` and `--durable-blocksize`, for example `65536` and `4096`), and the same chunk settings as the source (`--chunk-filer`, `--chunk-path`, `--chunk-control-endpoint`). v2 serves at once. A start with other geometry flags is refused with `geometry_mismatch` and exits 78, creating no local store; the refusal names the record's values. 4. **Reads fill v2.** A block in a chunk that v2 does not hold yet is read from the source's snapshot; the read waits for that chunk, which is then kept locally. There is no background copy: a chunk that is never read stays in the source's snapshot. From e4de6bdef321a1f33aed4e95c3fe5a65e4630312 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Sun, 29 Nov 2026 17:19:04 -0800 Subject: [PATCH 3/3] docs: v1.0.1 keeps new volumes at 256 GiB; 1 TiB moves to v1.1 Co-Authored-By: Claude Opus 5.5 --- seaweed-block/README.md | 3 +-- seaweed-block/docs/upgrade-v1.0.1.md | 7 +------ seaweed-block/docs/volume-lifecycle.md | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/seaweed-block/README.md b/seaweed-block/README.md index 2b516bde3a..34f7614f63 100644 --- a/seaweed-block/README.md +++ b/seaweed-block/README.md @@ -151,7 +151,6 @@ Seaweed Block is block storage for AI agent workspaces: one local-speed disk per units. - **Next, planned for v1.0.1** (still single replica): - `sw-block mini`: one command that starts a single-host trial; - - volumes up to 1 TiB; - whole-job volume commands, each one command: `sw-block volume start`, `stop` (it publishes the volume's changes first), `backup` and `restore`; - `sw-block shell` for inspection: status, lists, and `cluster.check`, a fixed list of checks whose troubleshooting @@ -160,7 +159,7 @@ Seaweed Block is block storage for AI agent workspaces: one local-speed disk per - a working `ops chunk verify`. The recovery point above does not change in v1.0.1. -- **After that, planned:** replicated volumes beyond the preview; export of a snapshot to another object store, and +- **After that, planned:** volumes up to 1 TiB (v1.1); replicated volumes beyond the preview; export of a snapshot to another object store, and import from it; `volume fork` and `volume move` commands. ## Agent workspace disks: chunk lifecycle diff --git a/seaweed-block/docs/upgrade-v1.0.1.md b/seaweed-block/docs/upgrade-v1.0.1.md index 0e4d063899..747e4e0233 100644 --- a/seaweed-block/docs/upgrade-v1.0.1.md +++ b/seaweed-block/docs/upgrade-v1.0.1.md @@ -40,9 +40,7 @@ During the rest of the upgrade, blockmaster is v1.0.1 while some volume hosts an v1.0.0. This mixed state is supported: v1.0.0 holders keep serving, snapshots and restores work, and the commands of step 2 run from the v1.0.0 CLI. In it: -- New volumes stay at most 256 GiB unless the v1.0.1 release note says the limit is raised. If it is, do not create - a volume larger than 256 GiB until every host runs v1.0.1. A v1.0.0 holder of such a volume is not supported: its cut's commit check can run past its time limit, leaving a snapshot's outcome unknown (see - [Downgrade](#downgrade)). +- New volumes stay at most 256 GiB in v1.0.1, as in v1.0.0. - A restore's target must be in the cluster spec before the restore: a v1.0.1 blockmaster refuses a target that is not, unless its product loop is on (`--lifecycle-product-loop-interval` above 0); the refusal names that flag. - `cluster.check` is in the v1.0.1 `sw-block`; since the CLI is upgraded last, run it from a v1.0.1 binary during the @@ -145,6 +143,3 @@ Each step can be repeated, and the procedure resumes at the step that did not fi Downgrade is not supported and is not a tested procedure. Do not start a v1.0.0 build on a store that v1.0.1 has served. - -One case is a hazard, not only unsupported: **never let v1.0.0 serve a volume larger than 256 GiB.** The commit check of such a -volume's cut can run past v1.0.0's time limit, so its snapshots can fail with an unknown outcome. diff --git a/seaweed-block/docs/volume-lifecycle.md b/seaweed-block/docs/volume-lifecycle.md index d2cb9a162c..a3deb5c65c 100644 --- a/seaweed-block/docs/volume-lifecycle.md +++ b/seaweed-block/docs/volume-lifecycle.md @@ -499,7 +499,7 @@ name `--volume v1`. On a completed retry, an optional `already_deleted_roots` array names roots already removed by the earlier completion; `state` remains `deleted`. A missing root of a volume not already deleted is still an error. -A 1 TiB delete may take several minutes or invocations. `--timeout` (default +A delete of a large volume may take several minutes or invocations. `--timeout` (default 120 seconds) bounds one sweep and the no-progress window, rather than the whole growing delete. Confirmed object removals extend that window. Progress on stderr reports `deleted N of M objects` for this invocation; stdout remains