docs(upgrade): what the guest sees; the orphan check after a pass removes nothing

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
pingqiuandClaude Opus 5.5 committed 2026-11-28 12:43:22 -08:00
1 parent 1d410f8ccb
commit 4555c61547
1 file changed
+10 -2
+10 -2
View File
@@ -64,6 +64,12 @@ every acknowledged write is kept; no seal and no move are needed.
3. Check that it serves: its status shows `"Healthy":true` and `"AuthorityRole":"primary"`
(`curl -s 'http://STATUS/status?volume=v1'`). Then go on to the next volume.
**The guest during the restart:** the restart stops the NVMe/TCP target the guest is connected to. The guest's I/O
on the device pauses and continues when the holder serves again, if it connected with the options in
[host connect settings](operator-guide.md#host-connect-settings) (`--ctrl-loss-tmo=180 --reconnect-delay=2`).
To avoid the pause, stop the writer first. If the device does not come back by itself (I/O fails with `EIO`, or
the controller is gone), connect it again with the same `nvme connect` command.
Nothing the volume acknowledged is lost. If a volume does not serve again within its lease, follow
[after a crash](volume-lifecycle.md#after-a-crash) for it before you go on.
@@ -86,8 +92,10 @@ Replace `sw-block` on every machine that runs it.
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. Until the first v1.0.1 pass has finished, the same verify with `--orphans` lists those roots
and segments: that is expected after an upgrade, not damage. Run the `--orphans` check after that pass.
on the volume's host. A pass is bounded in time and the next one continues, so this can take several passes. Until
then, the same verify with `--orphans` lists those roots and segments: that is expected after an upgrade, not
damage. Run the `--orphans` check once a pass has nothing left to remove: its log line shows `removed=0` (a pass
that stops early logs an error instead).
## If a step is interrupted