mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
docs: verify checks every named snapshot; drop the refused --all-snapshots
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f04eb25afd
commit
f79c1cad19
2 files changed
+5
-5
No files matched your search
@@ -873,9 +873,9 @@ directories using each reference's full owner id.
|
||||
Verify is read-only: exit 0 means complete with no findings, 3 means complete
|
||||
with findings, 1 means incomplete, and 2 means invalid arguments. `--depth data`
|
||||
checks chunk hashes and requires an explicit timeout. `--orphans` only reports;
|
||||
it never deletes anything. `--snapshot`, `--all-snapshots`, `--concurrency` and
|
||||
`--bytes-per-sec` are unsupported and refuse even when explicitly set to their
|
||||
default values; all named snapshots are checked sequentially without pacing.
|
||||
it never deletes anything. Verify checks every named snapshot in turn, without
|
||||
pacing; it has no flag to choose snapshots or to set a pace, and a command that
|
||||
passes one is refused (exit 2), even with its default value.
|
||||
|
||||
`MISSING` and `ORPHAN` findings require matching nonzero generations on the
|
||||
HEAD read before the walk and the confirmation read after it. Live dependent
|
||||
|
||||
@@ -120,10 +120,10 @@ one).
|
||||
- Check every volume with the read-only verify:
|
||||
|
||||
```bash
|
||||
sw-block ops chunk verify --master MASTER --volume v1 --chunk-filer FILER --all-snapshots --depth data --timeout 30m
|
||||
sw-block ops chunk verify --master MASTER --volume v1 --chunk-filer FILER --depth data --timeout 30m
|
||||
```
|
||||
|
||||
Exit 0 is clean. A snapshot taken before the upgrade restores as before.
|
||||
It checks every named snapshot in turn. Exit 0 is clean. A snapshot taken before the upgrade restores as before.
|
||||
- v1.0.0 left the roots and segments of old cuts in place. v1.0.1's cleaning removes them, starting at the next
|
||||
`--chunk-maintenance-interval` (hourly by default); each pass logs `maintenance volume=<v> ... planned=N removed=N`
|
||||
on the volume's host. A pass is bounded in time and the next one continues, so this can take several passes. Until
|
||||
|
||||
Reference in new issue
Block a user