diff --git a/seaweed-block/docs/upgrade-v1.0.1.md b/seaweed-block/docs/upgrade-v1.0.1.md index d75f1a466e..c528411143 100644 --- a/seaweed-block/docs/upgrade-v1.0.1.md +++ b/seaweed-block/docs/upgrade-v1.0.1.md @@ -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= ... 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