Merge pull request #767 from seaweedfs/docs/force-move-dry-run-exit

docs(lifecycle): force-move --dry-run exits 0 whenever the check ran
This commit is contained in:
Ping Qiu authored and GitHub committed 2026-11-29 08:01:10 -08:00
commit 30b5177b17
1 file changed
+3 -1
+3 -1
View File
@@ -405,7 +405,9 @@ sw-block ops workspace force-move --master MASTER --volume v1 \
```
`--dry-run` writes nothing; it shows whether the move is admitted and, if not,
`admissible at <time>, master clock`. The same barrier as above applies; there
`admissible at <time>, master clock`. It exits 0 whenever the check ran,
admitted or not: read its `forced move admitted` or `forced move not admitted`
line before you move. The same barrier as above applies; there
is no bypass. Run the command again without `--dry-run`. It prints the lost
range, for example `volume v1 restored to the last published image at <time>
(gen N, LSN L): writes with LSN <= L are preserved; writes acknowledged by r1@E