From c219ef79c1287876edec7e206908306b1f1610e1 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Sat, 28 Nov 2026 07:44:58 -0800 Subject: [PATCH] docs: do not recommend ops chunk verify in v1.0.0 ops chunk verify does not read the v1.0.0 volume directory layout: on a healthy volume it reports a missing VOLUME, or (by its full name) false identity findings. Remove its steps and claims from the guides and the README, and state the limit in the release note. Co-Authored-By: Claude Opus 5.5 --- seaweed-block/README.md | 1 - seaweed-block/docs/operator-guide.md | 3 --- seaweed-block/docs/releases/v1.0.0.md | 1 + seaweed-block/docs/standalone-deployment.md | 13 ------------- 4 files changed, 1 insertion(+), 17 deletions(-) diff --git a/seaweed-block/README.md b/seaweed-block/README.md index 57d55419b7..a51545fa37 100644 --- a/seaweed-block/README.md +++ b/seaweed-block/README.md @@ -131,7 +131,6 @@ sw-block ops chunk snapshots --master --volume v1 --chunk-filer --chunk-filer --source v1 --snapshot s1 --target v3 # new volume from a snapshot sw-block ops chunk detach --volume v1 --status-addr # final cut (seal); moving needs revoke + move, see docs/volume-lifecycle.md sw-block ops chunk volume-delete --volume v2 --chunk-filer --master --request-id del-v2 -sw-block ops chunk verify --volume v1 --chunk-filer # read-only check of the remote image ``` `volume-delete` is refused until the volume's holder has been revoked and its ACK diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index a0116e642c..6086a138b9 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -231,7 +231,6 @@ filled size must be at most about 4 min x your disk's read rate for its first cu snapshot delete made by the holder itself (the schedule's retention) and every `--chunk-maintenance-interval` (1 hour by default); a snapshot deleted with `ops chunk snapshot-delete` is cleaned at the next pass; - then the asynchronous SeaweedFS vacuum compacts the volume files; -- `ops chunk verify`; - restoring a snapshot into a new volume, which reads the chunks it has not made local from that snapshot (fork is not supported in this release). A volume holds at most 10 snapshots. The next one is refused with `snapshot_limit` (HTTP 409, not retryable; @@ -363,7 +362,6 @@ failed over by itself (see 3. Read the printed lost range: writes acknowledged after the last cut and before the move's time may be lost. - Read it again later with `sw-block ops workspace lost-range`. 4. Start `blockvolume` on the new node, then reconnect the guest. -5. Optionally restore an older snapshot into a new volume and verify it with `ops chunk verify --depth data`. ## Host connect settings @@ -477,7 +475,6 @@ Every command on the pages above, and the test that runs it. | `sw-block ops workspace force-move [--dry-run]`, `lost-range` | `TestProcedureForcedMoveWithTheOldHostReturning`, `TestProcedureRevokeWithoutACKThenForcedMove` | binary | | `sw-block ops volume-unheld --path` | `cmd/sw-block/volume_unheld_test.go` | CLI | | `sw-block ops chunk snapshot`, `snapshots`, `snapshot-delete` | `cmd/sw-block/chunk_test.go` | CLI | -| `sw-block ops chunk verify --depth data [--orphans]` | `cmd/sw-block/chunk_verify_test.go` | CLI | | `sw-block ops chunk restore --source --snapshot --target [--request-id]` | `cmd/sw-block/chunk_b_test.go` | CLI | | `sw-block ops failover` | `cmd/sw-block/failover_test.go` | CLI | | Certificate issuance and rotation (`openssl` above) | not run in 1.0 as written | not run | diff --git a/seaweed-block/docs/releases/v1.0.0.md b/seaweed-block/docs/releases/v1.0.0.md index 9b22329340..f8bf48ebb4 100644 --- a/seaweed-block/docs/releases/v1.0.0.md +++ b/seaweed-block/docs/releases/v1.0.0.md @@ -179,3 +179,4 @@ derived from the reconnect count; not run). - 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. +- ops chunk verify does not read the v1.0.0 volume directory layout and reports a missing VOLUME or false identity/orphan findings; do not use it in v1.0.0; a fix is planned for 1.0.1. diff --git a/seaweed-block/docs/standalone-deployment.md b/seaweed-block/docs/standalone-deployment.md index 9ee07c9344..190dd7dcd5 100644 --- a/seaweed-block/docs/standalone-deployment.md +++ b/seaweed-block/docs/standalone-deployment.md @@ -672,19 +672,6 @@ Space comes back in two steps. Neither is immediate. # or, in weed shell: volume.list and volume.vacuum -garbageThreshold 0.01 ``` -Check the data afterwards. `--depth data` reads every chunk once. - -| Exit | Meaning | -|---|---| -| 0 | clean | -| 3 | the pass found problems | -| 1 | the pass could not complete, for example a filer or master is unreachable; the partial result is printed | -| 2 | the command could not run: a usage error, or the filer is not the only filer of its group (it refuses to start) | - -```bash -sw-block ops chunk verify --volume v1 --chunk-filer FILER --all-snapshots --depth data --timeout 30m -``` - ### SeaweedFS maintenance commands that destroy chunk volumes A walstore-chunk volume keeps its data in SeaweedFS as needles that **no file's chunk list names**: the volume's