Merge pull request #804 from seaweedfs/docs/later-release

docs: v1.0.1 keeps 256 GiB volumes; replicated volumes and restore independence come later
This commit is contained in:
Ping Qiu authored and GitHub committed 2026-11-29 18:52:01 -08:00
commit a5896bd16c
6 files changed
+8 -12

No files matched your search

+1 -2
View File
@@ -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
+1 -1
View File
@@ -466,7 +466,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.
@@ -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.
+3 -1
View File
@@ -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-<id8>"`, where `<id8>` 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.
@@ -953,7 +955,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: "<snapshot>"`. 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.
+1 -6
View File
@@ -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.
+1 -1
View File
@@ -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