From 092aa8c69e91c33df7c80f3db03464131e107dd1 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Fri, 27 Nov 2026 22:30:40 -0800 Subject: [PATCH 1/4] docs: --timeout for the first cut when deleting a restore target Co-Authored-By: Claude Opus 5.5 --- seaweed-block/docs/operator-guide.md | 4 ++++ seaweed-block/docs/releases/v1.0.0.md | 3 +++ 2 files changed, 7 insertions(+) diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index 215d2cf75f..61f8369571 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -196,6 +196,10 @@ refuses the next step. Resolve snapshot dependents and rerun with the same reque the command asks blockmaster for a fresh no-live-lease proof before the HEAD compare-and-swap. A late upload by a dead holder into a deleted volume can remain; rerun volume-delete to sweep it. +Deleting a restore target: its first cut compares every restored chunk locally (about 1.5 GB/s measured), so pass +`--timeout` of at least 2 x (size / 1.5 GB/s), e.g. 6m for 256 GiB; the default 120 s covers up to about 84 GiB. +An `outcome_unknown` answer there means retry with a larger `--timeout`; the volume keeps serving and nothing is lost. + [Standalone deployment: snapshots, restore and space](standalone-deployment.md#snapshots-restore-and-space-walstore-chunk): - scheduled and manual snapshots; diff --git a/seaweed-block/docs/releases/v1.0.0.md b/seaweed-block/docs/releases/v1.0.0.md index 0a9794cc9b..588c28c500 100644 --- a/seaweed-block/docs/releases/v1.0.0.md +++ b/seaweed-block/docs/releases/v1.0.0.md @@ -74,6 +74,9 @@ defaults, so a pod whose holder does not come back holds I/O for about 600 s whe commit names fewer chunks. - Keep free capacity in SeaweedFS: while it is full, snapshots, cuts and the final cut of a stop or move fail with a retryable error; guest writes continue and are kept; free space, then retry. +- Deleting a restore target: its first cut compares every restored chunk locally (about 1.5 GB/s measured), so pass + `--timeout` of at least 2 x (size / 1.5 GB/s), e.g. 6m for 256 GiB; the default 120 s covers up to about 84 GiB. An + `outcome_unknown` answer there means retry with a larger `--timeout`; the volume keeps serving and nothing is lost. - 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 From f127bc4a98e8f114b43b36fbeb078095d7531dfe Mon Sep 17 00:00:00 2001 From: pingqiu Date: Fri, 27 Nov 2026 22:34:09 -0800 Subject: [PATCH 2/4] docs: restore-target delete --timeout capped at 5m; first-cut known limit Co-Authored-By: Claude Opus 5.5 --- seaweed-block/docs/operator-guide.md | 7 ++++--- seaweed-block/docs/releases/v1.0.0.md | 10 +++++++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index 61f8369571..d54843b33b 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -196,9 +196,10 @@ refuses the next step. Resolve snapshot dependents and rerun with the same reque the command asks blockmaster for a fresh no-live-lease proof before the HEAD compare-and-swap. A late upload by a dead holder into a deleted volume can remain; rerun volume-delete to sweep it. -Deleting a restore target: its first cut compares every restored chunk locally (about 1.5 GB/s measured), so pass -`--timeout` of at least 2 x (size / 1.5 GB/s), e.g. 6m for 256 GiB; the default 120 s covers up to about 84 GiB. -An `outcome_unknown` answer there means retry with a larger `--timeout`; the volume keeps serving and nothing is lost. +Deleting a restore target: its first cut compares every restored chunk locally (about 1.5 GB/s measured). The +default `--timeout` of 120 s covers up to about 84 GiB; above that, pass `--timeout 5m` (the server's limit for one +request). At the 256 GiB maximum the first cut takes about 3 min. An `outcome_unknown` answer there means retry with +a larger `--timeout`; the volume keeps serving and nothing is lost. [Standalone deployment: snapshots, restore and space](standalone-deployment.md#snapshots-restore-and-space-walstore-chunk): diff --git a/seaweed-block/docs/releases/v1.0.0.md b/seaweed-block/docs/releases/v1.0.0.md index 588c28c500..49df94618b 100644 --- a/seaweed-block/docs/releases/v1.0.0.md +++ b/seaweed-block/docs/releases/v1.0.0.md @@ -74,9 +74,10 @@ defaults, so a pod whose holder does not come back holds I/O for about 600 s whe commit names fewer chunks. - Keep free capacity in SeaweedFS: while it is full, snapshots, cuts and the final cut of a stop or move fail with a retryable error; guest writes continue and are kept; free space, then retry. -- Deleting a restore target: its first cut compares every restored chunk locally (about 1.5 GB/s measured), so pass - `--timeout` of at least 2 x (size / 1.5 GB/s), e.g. 6m for 256 GiB; the default 120 s covers up to about 84 GiB. An - `outcome_unknown` answer there means retry with a larger `--timeout`; the volume keeps serving and nothing is lost. +- Deleting a restore target: its first cut compares every restored chunk locally (about 1.5 GB/s measured). The + default `--timeout` of 120 s covers up to about 84 GiB; above that, pass `--timeout 5m` (the server's limit for one + request). At the 256 GiB maximum the first cut takes about 3 min. An `outcome_unknown` answer there means retry + with a larger `--timeout`; the volume keeps serving and nothing is lost. - 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 @@ -109,6 +110,9 @@ defaults, so a pod whose holder does not come back holds I/O for about 600 s whe completes. Retry with the same request id; there is no bypass. ## Known limits +- A restore target's first cut reads every filled byte, so it scales with disk read rate (NVMe measured about + 1.4 GiB/s: 256 GiB in about 3 min). In v1.0.0 a restore target needs its filled size <= about 4 min x your disk's + read rate, otherwise its detach and delete cannot finish and a retry does not converge; this is removed in 1.0.1. - 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. From c28e82f06c584bfd04f14eddbf1ad3882ce6770b Mon Sep 17 00:00:00 2001 From: pingqiu Date: Fri, 27 Nov 2026 22:35:22 -0800 Subject: [PATCH 3/4] docs: one unit (GiB/s); retry at 5m, then the known limit Co-Authored-By: Claude Opus 5.5 --- seaweed-block/docs/operator-guide.md | 8 +++++--- seaweed-block/docs/releases/v1.0.0.md | 7 ++++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index d54843b33b..110c3c0375 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -196,10 +196,12 @@ refuses the next step. Resolve snapshot dependents and rerun with the same reque the command asks blockmaster for a fresh no-live-lease proof before the HEAD compare-and-swap. A late upload by a dead holder into a deleted volume can remain; rerun volume-delete to sweep it. -Deleting a restore target: its first cut compares every restored chunk locally (about 1.5 GB/s measured). The +Deleting a restore target: its first cut compares every restored chunk locally (about 1.4 GiB/s measured). The default `--timeout` of 120 s covers up to about 84 GiB; above that, pass `--timeout 5m` (the server's limit for one -request). At the 256 GiB maximum the first cut takes about 3 min. An `outcome_unknown` answer there means retry with -a larger `--timeout`; the volume keeps serving and nothing is lost. +request). At the 256 GiB maximum the first cut takes about 3 min. On an `outcome_unknown` answer, retry with +`--timeout 5m` if you used less; if it still answers `outcome_unknown` at 5m, the target is above this release's +limit (its filled size must be at most about 4 min x your disk's read rate). The volume keeps serving and nothing is +lost. [Standalone deployment: snapshots, restore and space](standalone-deployment.md#snapshots-restore-and-space-walstore-chunk): diff --git a/seaweed-block/docs/releases/v1.0.0.md b/seaweed-block/docs/releases/v1.0.0.md index 49df94618b..8de3bf0af5 100644 --- a/seaweed-block/docs/releases/v1.0.0.md +++ b/seaweed-block/docs/releases/v1.0.0.md @@ -74,10 +74,11 @@ defaults, so a pod whose holder does not come back holds I/O for about 600 s whe commit names fewer chunks. - Keep free capacity in SeaweedFS: while it is full, snapshots, cuts and the final cut of a stop or move fail with a retryable error; guest writes continue and are kept; free space, then retry. -- Deleting a restore target: its first cut compares every restored chunk locally (about 1.5 GB/s measured). The +- Deleting a restore target: its first cut compares every restored chunk locally (about 1.4 GiB/s measured). The default `--timeout` of 120 s covers up to about 84 GiB; above that, pass `--timeout 5m` (the server's limit for one - request). At the 256 GiB maximum the first cut takes about 3 min. An `outcome_unknown` answer there means retry - with a larger `--timeout`; the volume keeps serving and nothing is lost. + request). At the 256 GiB maximum the first cut takes about 3 min. On an `outcome_unknown` answer, retry with + `--timeout 5m` if you used less; if it still answers `outcome_unknown` at 5m, the target is above this release's + limit (see Known limits). The volume keeps serving and nothing is lost. - 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 From 0c80ec3f6d77f2994ed08900c7c1d56bc2ec4684 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Fri, 27 Nov 2026 22:36:40 -0800 Subject: [PATCH 4/4] docs: slower disks note; restore-target limit fix is planned for 1.0.1 Co-Authored-By: Claude Opus 5.5 --- seaweed-block/docs/operator-guide.md | 2 +- seaweed-block/docs/releases/v1.0.0.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index 110c3c0375..4d65c4dd25 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -201,7 +201,7 @@ default `--timeout` of 120 s covers up to about 84 GiB; above that, pass `--time request). At the 256 GiB maximum the first cut takes about 3 min. On an `outcome_unknown` answer, retry with `--timeout 5m` if you used less; if it still answers `outcome_unknown` at 5m, the target is above this release's limit (its filled size must be at most about 4 min x your disk's read rate). The volume keeps serving and nothing is -lost. +lost. On disks slower than NVMe the 256 GiB figure does not hold; see the v1.0.0 Known limits. [Standalone deployment: snapshots, restore and space](standalone-deployment.md#snapshots-restore-and-space-walstore-chunk): diff --git a/seaweed-block/docs/releases/v1.0.0.md b/seaweed-block/docs/releases/v1.0.0.md index 8de3bf0af5..001410dcaf 100644 --- a/seaweed-block/docs/releases/v1.0.0.md +++ b/seaweed-block/docs/releases/v1.0.0.md @@ -113,7 +113,7 @@ defaults, so a pod whose holder does not come back holds I/O for about 600 s whe ## Known limits - A restore target's first cut reads every filled byte, so it scales with disk read rate (NVMe measured about 1.4 GiB/s: 256 GiB in about 3 min). In v1.0.0 a restore target needs its filled size <= about 4 min x your disk's - read rate, otherwise its detach and delete cannot finish and a retry does not converge; this is removed in 1.0.1. + read rate, otherwise its detach and delete cannot finish and a retry does not converge; a fix is planned for 1.0.1. - 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.