From 1941bbfa8488f2c01b2e5ab3ccff66f6e5fcfed7 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Fri, 27 Nov 2026 09:23:30 -0800 Subject: [PATCH 1/7] docs: v1.0.0 release note 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 --- seaweed-block/docs/releases/README.md | 1 + seaweed-block/docs/releases/v1.0.0.md | 98 +++++++++++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 seaweed-block/docs/releases/v1.0.0.md diff --git a/seaweed-block/docs/releases/README.md b/seaweed-block/docs/releases/README.md index 67b832bef6..6df8fc9105 100644 --- a/seaweed-block/docs/releases/README.md +++ b/seaweed-block/docs/releases/README.md @@ -4,6 +4,7 @@ Seaweed Block release notes use narrow product claims. Each alpha version names what a user or reviewer can actually run, what QA evidence backs it, and what is still outside the supported boundary. +- [v1.0.0](v1.0.0.md) - [Holder identity and pre-release upgrades](holder-identity.md) - [One live process per volume per host](one-process-per-volume.md) - [Local disk headroom at volume create](local-disk-headroom.md) diff --git a/seaweed-block/docs/releases/v1.0.0.md b/seaweed-block/docs/releases/v1.0.0.md new file mode 100644 index 0000000000..2110b7b3d0 --- /dev/null +++ b/seaweed-block/docs/releases/v1.0.0.md @@ -0,0 +1,98 @@ +# v1.0.0 + +The first release. The supported configuration is the **single-replica volume** (`--durable-impl walstore-chunk`), +backed up to SeaweedFS with snapshots, restore, moves and volume delete. Replicated volumes ship as a preview: see +[replicated volumes in v1.0: a preview](replicated-volumes-preview.md). + +## Store layout +- Chunks are named by their index and the SHA-256 of their bytes; manifests are per-shard segments and a root; HEAD + names the current root and the named snapshots. Every name is derived from content, so an existing name is a + complete object. +- Each volume has a random id. References carry ids, so a reference never resolves to another volume. The name of a + deleted volume cannot be used again: create the replacement under another name. +- Each volume's store directory is `-` (for example `db1-3f9a2c7e`), + created exclusively and never reused. Tools resolve a name to its directory only through blockmaster's volume + record. +- Removal of unreachable objects is a conditional mark and then a conditional delete on the object itself, so a late + delete never removes an object a newer image uses. + +## Upgrade +- This is the first release. A store written by a pre-release build is refused at start + (`chunkstore: legacy store format; recreate the volume`); there is no conversion. Recreate such volumes. +- No downgrade: a local data directory written by this release is refused by earlier builds. + +## Durability and start-up +- Every read from the SeaweedFS store is checked against the chunk's content hash (guest reads, the first read of a + restored volume's chunk, and restores); a damaged object is refused with a typed error, never served or installed. +- Extents are flushed only up to the acknowledged log position. +- blockvolume waits in-process while blockmaster is unreachable at start, and serves once blockmaster is back and its + barrier has passed. A volume that was moved away or deleted exits 78; 75 means only that blockmaster could not be + reached. +- A failed directory fsync after an authority record's rename stops blockmaster with exit 74; the restart reloads + what is on disk. +- Empty local data at the holder's own epoch (a wrong or unmounted data directory) is refused with the cure named; a + forced move records the lost range. + +## Cleaning (on by default) +- The serving volume removes chunks that no snapshot or current image names: after each snapshot delete or retention + pass, and every `--chunk-maintenance-interval` (default `1h`). Only the volume's holder cleans, never during a + snapshot session; a cut or stop cancels a running cleaning. +- `--chunk-maintenance-gc=false` turns the cleaning off (retention still runs). SeaweedFS vacuum then reclaims the disk + space of removed chunks. + +## Authentication +- Control traffic that leaves the host is authenticated. One host: blockmaster's control API listens on loopback only, + with no certificates; a non-loopback control listener without mutual TLS is refused at start. Several hosts: mutual + TLS, with a fingerprint-pinned role file (viewer, operator, admin, node) and an audit log (`--audit-log`) of every + operator and admin call. +- `--insecure-external-bind` and `--workspace-head-base-url` are removed: blockmaster refuses to start with either. + blockmaster reads volume HEADs through its SeaweedFS filer connection (`--chunk-filer`). + +## Limits +- Up to 10 snapshots per volume; one more is refused with `snapshot_limit` and changes nothing (delete a snapshot or + let retention prune). +- Snapshot names up to 64 bytes; up to 4 labels per snapshot (keys up to 24 bytes, values up to 32 bytes). +- Up to 4 restore targets per snapshot and 16 per volume at a time. +- A volume's size, block size and chunk size are fixed at creation; resize is not supported, and a restore target + always has its source's geometry. + +## Not in this release +- Fork (a writable copy of a live volume): restore from a snapshot instead. +- `sw-block ops chunk gc`: removed; space is reclaimed by the volume's own cleaning, then SeaweedFS vacuum. +- Independent restore targets: a restored volume keeps reading its source's unchanged chunks, fetching each the first + time the guest reads or writes it (there is no background fill). Its source snapshot, and the source volume, cannot + be deleted while it depends on them: delete or release the restored volume first. A volume's plain snapshots, with + no restored volume depending on them, are deleted with the volume. +- Authentication of the SeaweedFS links and of the volume process's loopback HTTP routes. + +## Operator rules +- Do not edit or copy a volume's local data directory by hand. +- Run exactly one blockmaster per cluster; a second one on another host is not detected in this release. +- Never restore blockmaster's data directory from a backup or a copy: an older authority record reissues epochs that + were already used. To recover, re-create the volumes from their snapshots. +- A delete right after a stop, or after a start or move that never served, is refused (`live until `) until the + lease horizon plus the clock-skew margin has passed (about a minute with default flags); then the same delete + completes. Retry with the same request id; there is no bypass. + +## Known limits +- If the outcome of a chunk upload is unknown (for example the connection drops mid-request), the object may remain in + SeaweedFS unreferenced; the volume's cleaning does not reclaim it. `weed shell volume.fsck -collection -v` lists such objects; do not use its delete option on block data. +- A restored volume takes no scheduled snapshots while any of its chunks is still only in the source snapshot (the + pass is skipped as `restoring`). Read the whole device once if a restored volume must be backed up on schedule. +- A restored volume records which chunks it has fetched only at its next checkpoint: after a crash, chunks fetched + since then are fetched again from the source snapshot (no data is lost). +- A snapshot of a restored volume cannot itself be a restore source (`restore_source_not_own`): restore chains are one + level deep. +- blockmaster reads its cluster spec only at start: a new volume, restore target or host listed there takes effect + after a blockmaster restart. A restart that blockmaster answers within about 10 s interrupts no serving volume; a + longer one stops the holders (exit 75), which serve again at least about 50 s after blockmaster is back. +- A snapshot that meets a concurrent change of the volume's HEAD answers `head_conflict`: retry it. If that retry + answers `internal` `snapshot "NAME" of VOL is not in HEAD after its commit`, retry once more; the data was committed + either way, and the name is recorded only by the attempt that succeeds. +- A guest's NVMe/TCP connection to a target that stops waits, with the documented connect options, about 181 s before + outstanding I/O fails when the holder process is stopped, and about 464 s when the host is powered off. A standalone + guest runs on its volume's primary host (the target listens on loopback only). See + [host connect settings](../operator-guide.md#host-connect-settings). +- Every deleted volume leaves one small record in blockmaster's deletion store, which keeps the name from being + reused. From 537487c9cd1b56b82aadf23df99949bbe6e3521d Mon Sep 17 00:00:00 2001 From: pingqiu Date: Fri, 27 Nov 2026 09:26:23 -0800 Subject: [PATCH 2/7] docs: v1.0.0 release note, three more single-replica known limits - 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 --- seaweed-block/docs/releases/v1.0.0.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/seaweed-block/docs/releases/v1.0.0.md b/seaweed-block/docs/releases/v1.0.0.md index 2110b7b3d0..a8c151403e 100644 --- a/seaweed-block/docs/releases/v1.0.0.md +++ b/seaweed-block/docs/releases/v1.0.0.md @@ -84,6 +84,15 @@ backed up to SeaweedFS with snapshots, restore, moves and volume delete. Replica since then are fetched again from the source snapshot (no data is lost). - A snapshot of a restored volume cannot itself be a restore source (`restore_source_not_own`): restore chains are one level deep. +- A refused restore (for example from a snapshot of a restored volume) answers `not_admitted` with its cause + (`snapshot names another volume's chunks`) after a misleading `layout store not ready:` prefix, and it leaves the + target name bound: a later restore under that name is refused with `target_exists`. Restore under another target + name. +- A volume-delete refused with `snapshot_has_dependents` has already reserved the volume: it does not serve again + (`ops workspace show` answers `workspace: volume is being deleted`). Delete or release the restored volume that + depends on the snapshot, then run the same delete again. +- A volume created at run time (`CreateVolume`, the Kubernetes CSI path) and not placed in the cluster spec is served + only when blockmaster runs with `--lifecycle-product-loop-interval` set; the shipped Kubernetes stacks set it. - blockmaster reads its cluster spec only at start: a new volume, restore target or host listed there takes effect after a blockmaster restart. A restart that blockmaster answers within about 10 s interrupts no serving volume; a longer one stops the holders (exit 75), which serve again at least about 50 s after blockmaster is back. From 78505bf3cf468e5abe6633f31330e07f1b62c3a6 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Fri, 27 Nov 2026 09:27:53 -0800 Subject: [PATCH 3/7] docs: v1.0.0 release note, recovery point, Kubernetes and the filer - 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 --- seaweed-block/docs/releases/v1.0.0.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/seaweed-block/docs/releases/v1.0.0.md b/seaweed-block/docs/releases/v1.0.0.md index a8c151403e..a3dc33617e 100644 --- a/seaweed-block/docs/releases/v1.0.0.md +++ b/seaweed-block/docs/releases/v1.0.0.md @@ -4,6 +4,13 @@ The first release. The supported configuration is the **single-replica volume** backed up to SeaweedFS with snapshots, restore, moves and volume delete. Replicated volumes ship as a preview: see [replicated volumes in v1.0: a preview](replicated-volumes-preview.md). +## Kubernetes +Kubernetes is an alpha in v1.0.0, for supported lab clusters, not production: PVC provisioning and the Helm install +path are available; backup, snapshot and restore on Kubernetes are not claimed (see +[Kubernetes status](../kubernetes-status.md)). The CSI node connects with a plain `nvme connect` and the kernel +defaults, so a pod whose holder does not come back holds I/O for about 600 s when the holder's node is up, and some +13 minutes when it is powered off (derived from the reconnect count; not run). + ## Store layout - Chunks are named by their index and the SHA-256 of their bytes; manifests are per-shard segments and a root; HEAD names the current root and the named snapshots. Every name is derived from content, so an existing name is a @@ -22,6 +29,11 @@ backed up to SeaweedFS with snapshots, restore, moves and volume delete. Replica - No downgrade: a local data directory written by this release is refused by earlier builds. ## Durability and start-up +- **Recovery point.** A stopped volume keeps everything it acknowledged, on its host. A lost host's volume comes back + from its last cut, the last point published to SeaweedFS. By default there is no periodic capture and one scheduled + snapshot a day (`--chunk-snapshot-schedule=daily:7`), so with defaults a host loss can lose up to a day of + acknowledged writes. For a newer recovery point, set `--chunk-capture-interval` (at least 5 minutes) or take a + snapshot before risky work. - Every read from the SeaweedFS store is checked against the chunk's content hash (guest reads, the first read of a restored volume's chunk, and restores); a damaged object is refused with a typed error, never served or installed. - Extents are flushed only up to the acknowledged log position. @@ -99,9 +111,11 @@ backed up to SeaweedFS with snapshots, restore, moves and volume delete. Replica - A snapshot that meets a concurrent change of the volume's HEAD answers `head_conflict`: retry it. If that retry answers `internal` `snapshot "NAME" of VOL is not in HEAD after its commit`, retry once more; the data was committed either way, and the name is recorded only by the attempt that succeeds. -- A guest's NVMe/TCP connection to a target that stops waits, with the documented connect options, about 181 s before - outstanding I/O fails when the holder process is stopped, and about 464 s when the host is powered off. A standalone - guest runs on its volume's primary host (the target listens on loopback only). See +- A guest's NVMe/TCP connection, with the documented connect options, waits for a stopped target before outstanding + I/O fails: about 181 s when the holder process is stopped and its host is up (the case of a standalone guest, which + runs on its volume's primary host and connects over loopback; a powered-off host takes that guest down with it), + and about 464 s when the holder's host is powered off and the guest is on another host. See [host connect settings](../operator-guide.md#host-connect-settings). +- One SeaweedFS filer per chunk store: it is a single point of availability for cuts, snapshots and moves. - Every deleted volume leaves one small record in blockmaster's deletion store, which keeps the name from being reused. From 4086f34221321e81f263fd8aa72ca359257e76dc Mon Sep 17 00:00:00 2001 From: pingqiu Date: Fri, 27 Nov 2026 12:30:10 -0800 Subject: [PATCH 4/7] docs: snapshot time, --timeout and what a timed-out snapshot leaves 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 --- seaweed-block/docs/operator-guide.md | 11 +++++++++++ seaweed-block/docs/releases/v1.0.0.md | 3 +++ 2 files changed, 14 insertions(+) diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index ff93d1863a..63afb9c973 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -224,6 +224,17 @@ the snapshot name exists only after a request for it succeeds (check with `sw-bl (`TestKnownDefectSnapshotRetryAfterAGenuineConflictCommitsTheDataUnnamed`). A retry that names the snapshot at once is planned for 1.0.1. +A snapshot's time grows with the data changed since the volume's last cut: 64 GiB changed took 122 s (about 2 s +per GiB). `sw-block ops chunk snapshot` waits 60 s by default, so pass `--timeout` above the expected time; the +server bounds one request at 5 minutes whatever `--timeout` says, which is about 150 GiB changed. A request that runs +out of time answers a retryable code: `remote_unavailable` or `deadline_exceeded` when it ran out before its commit, +`outcome_unknown` when it ran out during the commit. Before the commit, the name is withdrawn and no later cut +publishes it; the volume's data is unchanged and stays queued for the next cut, and what the request uploaded is +removed by a later cleaning. After `outcome_unknown`, the commit may have landed with the name. +Rerun the snapshot with the same name and a larger `--timeout`: a name already in HEAD is answered with the +snapshot it names, so a rerun never takes a second one. The rerun uploads the changed data +again. A longer or derived default is planned for 1.0.1. + ## Moving a volume, and returning it [Volume lifecycle](volume-lifecycle.md): diff --git a/seaweed-block/docs/releases/v1.0.0.md b/seaweed-block/docs/releases/v1.0.0.md index a3dc33617e..6066d57ee8 100644 --- a/seaweed-block/docs/releases/v1.0.0.md +++ b/seaweed-block/docs/releases/v1.0.0.md @@ -63,6 +63,9 @@ defaults, so a pod whose holder does not come back holds I/O for about 600 s whe ## Limits - Up to 10 snapshots per volume; one more is refused with `snapshot_limit` and changes nothing (delete a snapshot or let retention prune). +- A snapshot takes about 2 s per GiB changed since the last cut (64 GiB: 122 s). The CLI waits 60 s by default and + the server at most 5 minutes per request: pass `--timeout`, and rerun a timed-out snapshot with the same name (see + the operator guide). - Snapshot names up to 64 bytes; up to 4 labels per snapshot (keys up to 24 bytes, values up to 32 bytes). - Up to 4 restore targets per snapshot and 16 per volume at a time. - A volume's size, block size and chunk size are fixed at creation; resize is not supported, and a restore target From 55f141ad87c853b9ca5d0bdda763a3e1430665ba Mon Sep 17 00:00:00 2001 From: pingqiu Date: Fri, 27 Nov 2026 12:39:26 -0800 Subject: [PATCH 5/7] docs: a snapshot rerun reuses uploaded chunks; host-limit pacing ceiling 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 --- seaweed-block/docs/operator-guide.md | 17 ++++++++++++----- seaweed-block/docs/releases/v1.0.0.md | 7 +++++-- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index 63afb9c973..5293fa8f90 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -226,14 +226,21 @@ planned for 1.0.1. A snapshot's time grows with the data changed since the volume's last cut: 64 GiB changed took 122 s (about 2 s per GiB). `sw-block ops chunk snapshot` waits 60 s by default, so pass `--timeout` above the expected time; the -server bounds one request at 5 minutes whatever `--timeout` says, which is about 150 GiB changed. A request that runs +server bounds one request at 5 minutes whatever `--timeout` says (about 150 GiB changed per attempt at the measured +0.5 GiB/s). A request that runs out of time answers a retryable code: `remote_unavailable` or `deadline_exceeded` when it ran out before its commit, `outcome_unknown` when it ran out during the commit. Before the commit, the name is withdrawn and no later cut -publishes it; the volume's data is unchanged and stays queued for the next cut, and what the request uploaded is -removed by a later cleaning. After `outcome_unknown`, the commit may have landed with the name. +publishes it; the volume's data is unchanged and stays queued for the next cut. +After `outcome_unknown`, the commit may have landed with the name. Rerun the snapshot with the same name and a larger `--timeout`: a name already in HEAD is answered with the -snapshot it names, so a rerun never takes a second one. The rerun uploads the changed data -again. A longer or derived default is planned for 1.0.1. +snapshot it names, so a rerun never takes a second one. A rerun finds the chunks a timed-out request already +uploaded and sends only the rest, so each rerun makes progress. A longer or derived default is planned for 1.0.1. + +With `--host-limit-dir` set (it is off by default), uploads are paced at `--host-limit-upload-bytes-sec` (64 MiB/s by +default) shared by the host's 4 slots, about 16 MiB/s per volume, and the pacing is charged for chunks already +uploaded too. A cut or snapshot with more than about 4.7 GiB changed then cannot finish within the 5 minutes, and a +rerun does not help: do not set `--host-limit-dir` for volumes that change faster than that. A fix is planned for +1.0.1. ## Moving a volume, and returning it diff --git a/seaweed-block/docs/releases/v1.0.0.md b/seaweed-block/docs/releases/v1.0.0.md index 6066d57ee8..79093c5c63 100644 --- a/seaweed-block/docs/releases/v1.0.0.md +++ b/seaweed-block/docs/releases/v1.0.0.md @@ -64,8 +64,11 @@ defaults, so a pod whose holder does not come back holds I/O for about 600 s whe - Up to 10 snapshots per volume; one more is refused with `snapshot_limit` and changes nothing (delete a snapshot or let retention prune). - A snapshot takes about 2 s per GiB changed since the last cut (64 GiB: 122 s). The CLI waits 60 s by default and - the server at most 5 minutes per request: pass `--timeout`, and rerun a timed-out snapshot with the same name (see - the operator guide). + the server at most 5 minutes per request: pass `--timeout`, and rerun a timed-out snapshot with the same name; a + rerun sends only the chunks not yet uploaded (see the operator guide). +- With `--host-limit-dir` set (off by default), uploads are paced at about 16 MiB/s per volume, so a cut or snapshot + with more than about 4.7 GiB changed cannot finish within 5 minutes and a rerun does not help: do not set it for + volumes that change faster than that (fix planned for 1.0.1). - Snapshot names up to 64 bytes; up to 4 labels per snapshot (keys up to 24 bytes, values up to 32 bytes). - Up to 4 restore targets per snapshot and 16 per volume at a time. - A volume's size, block size and chunk size are fixed at creation; resize is not supported, and a restore target From ee158b11cd41e88eb2caf240acd8c236b39a8aa5 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Fri, 27 Nov 2026 12:40:48 -0800 Subject: [PATCH 6/7] docs: host-limit-dir stuck path stated plainly; rerun keeps uploads Co-Authored-By: Claude Opus 5.5 --- seaweed-block/docs/operator-guide.md | 11 +++++------ seaweed-block/docs/releases/v1.0.0.md | 8 ++++---- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index 5293fa8f90..c843d6ee45 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -226,21 +226,20 @@ planned for 1.0.1. A snapshot's time grows with the data changed since the volume's last cut: 64 GiB changed took 122 s (about 2 s per GiB). `sw-block ops chunk snapshot` waits 60 s by default, so pass `--timeout` above the expected time; the -server bounds one request at 5 minutes whatever `--timeout` says (about 150 GiB changed per attempt at the measured -0.5 GiB/s). A request that runs +server bounds one request at 5 minutes whatever `--timeout` says. A request that runs out of time answers a retryable code: `remote_unavailable` or `deadline_exceeded` when it ran out before its commit, `outcome_unknown` when it ran out during the commit. Before the commit, the name is withdrawn and no later cut publishes it; the volume's data is unchanged and stays queued for the next cut. After `outcome_unknown`, the commit may have landed with the name. Rerun the snapshot with the same name and a larger `--timeout`: a name already in HEAD is answered with the -snapshot it names, so a rerun never takes a second one. A rerun finds the chunks a timed-out request already -uploaded and sends only the rest, so each rerun makes progress. A longer or derived default is planned for 1.0.1. +snapshot it names, so a rerun never takes a second one. A rerun keeps what a timed-out request already +uploaded: it finds those chunks and sends only the rest. A longer or derived default is planned for 1.0.1. With `--host-limit-dir` set (it is off by default), uploads are paced at `--host-limit-upload-bytes-sec` (64 MiB/s by default) shared by the host's 4 slots, about 16 MiB/s per volume, and the pacing is charged for chunks already uploaded too. A cut or snapshot with more than about 4.7 GiB changed then cannot finish within the 5 minutes, and a -rerun does not help: do not set `--host-limit-dir` for volumes that change faster than that. A fix is planned for -1.0.1. +rerun does not help: the volume is stuck. Do not use `--host-limit-dir` in 1.0.0 for volumes that change more than +about 4 GiB between snapshots. A fix is planned for 1.0.1. ## Moving a volume, and returning it diff --git a/seaweed-block/docs/releases/v1.0.0.md b/seaweed-block/docs/releases/v1.0.0.md index 79093c5c63..cffd9e464c 100644 --- a/seaweed-block/docs/releases/v1.0.0.md +++ b/seaweed-block/docs/releases/v1.0.0.md @@ -65,10 +65,10 @@ defaults, so a pod whose holder does not come back holds I/O for about 600 s whe let retention prune). - A snapshot takes about 2 s per GiB changed since the last cut (64 GiB: 122 s). The CLI waits 60 s by default and the server at most 5 minutes per request: pass `--timeout`, and rerun a timed-out snapshot with the same name; a - rerun sends only the chunks not yet uploaded (see the operator guide). -- With `--host-limit-dir` set (off by default), uploads are paced at about 16 MiB/s per volume, so a cut or snapshot - with more than about 4.7 GiB changed cannot finish within 5 minutes and a rerun does not help: do not set it for - volumes that change faster than that (fix planned for 1.0.1). + rerun keeps what was already uploaded (see the operator guide). +- Do not use `--host-limit-dir` (off by default) in 1.0.0 for volumes that change more than about 4 GiB between + snapshots: it paces uploads at about 16 MiB/s per volume, so such a cut or snapshot cannot finish within 5 minutes + and a rerun does not help (fix planned for 1.0.1). - Snapshot names up to 64 bytes; up to 4 labels per snapshot (keys up to 24 bytes, values up to 32 bytes). - Up to 4 restore targets per snapshot and 16 per volume at a time. - A volume's size, block size and chunk size are fixed at creation; resize is not supported, and a restore target From 877a5e4395202ac7feab909578fdf41fb52ea7fd Mon Sep 17 00:00:00 2001 From: pingqiu Date: Fri, 27 Nov 2026 13:08:59 -0800 Subject: [PATCH 7/7] docs: periodic HEAD cuts are off by default --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 --- seaweed-block/docs/design/invariants.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seaweed-block/docs/design/invariants.md b/seaweed-block/docs/design/invariants.md index 059b7a6d4d..b219c873f8 100644 --- a/seaweed-block/docs/design/invariants.md +++ b/seaweed-block/docs/design/invariants.md @@ -393,8 +393,8 @@ stateDiagram-v2 Not reachable in this release: the frozen detach and the pre-copy detach. `/chunk/detach` refuses a valid `frozen` request with `frozen_detach_unsupported` before any provider call (`INV-CUT-FROZEN-DETACH-REFUSED-001`), and blockvolume refuses to start with `--chunk-detach-precopy` (`INV-CUT-PRECOPY-FLAG-REFUSED-001`). So the transitions Admit → FrozenForecast, FrozenForecast → Refused, FrozenForecast → Quiesce, Quiesce → Refused (guest-frozen recheck), Quiesce → FinalFreeze and FinalFreeze → OpenWindow, and the rows Pre-copy admission, Pre-copy detach, Guest-frozen detach (apart from its HTTP400 validation) and Pre-copy host drain, are not reached by a released process. Their code is kept and still tested below the HTTP handler; the text above is unchanged. -Periodic HEAD cuts default to 15 minutes in blockvolume (OSS minimum 5 minutes; -0 explicitly disables); they do not create named snapshots. One five-minute +Periodic HEAD cuts are off by default in blockvolume (`--chunk-capture-interval` +0; when set, at least 5 minutes); they do not create named snapshots. One five-minute context covers a cut, including uploads. Deadline-aborted uploads remain rooted and reusable only while their chunk version and HEAD generation match.