Merge pull request #706 from seaweedfs/docs/verify-known-limit

docs: do not recommend ops chunk verify in v1.0.0
This commit is contained in:
Ping Qiu authored and GitHub committed 2026-11-28 08:00:11 -08:00
commit 25a3b755dc
4 files changed
+1 -17

No files matched your search

-1
View File
@@ -131,7 +131,6 @@ sw-block ops chunk snapshots --master <blockmaster> --volume v1 --chunk-filer <f
sw-block ops chunk restore --master <blockmaster> --chunk-filer <filer> --source v1 --snapshot s1 --target v3 # new volume from a snapshot
sw-block ops chunk detach --volume v1 --status-addr <status> # final cut (seal); moving needs revoke + move, see docs/volume-lifecycle.md
sw-block ops chunk volume-delete --volume v2 --chunk-filer <filer> --master <blockmaster> --request-id del-v2
sw-block ops chunk verify --volume v1 --chunk-filer <filer> # read-only check of the remote image
```
`volume-delete` is refused until the volume's holder has been revoked and its ACK
-3
View File
@@ -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 |
+1
View File
@@ -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.
@@ -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