From 1d410f8ccba4f7fbacbaa402959139e44be62016 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Sat, 28 Nov 2026 12:42:13 -0800 Subject: [PATCH] docs: a stop does not cut; run the cut first The operator guide's recovery point and the upgrade page's cut step say that systemctl stop and restart publish nothing, so the cut runs first. Co-Authored-By: Claude Opus 5.5 --- seaweed-block/docs/operator-guide.md | 3 ++- seaweed-block/docs/upgrade-v1.0.1.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/seaweed-block/docs/operator-guide.md b/seaweed-block/docs/operator-guide.md index 6086a138b9..87c1f1a345 100644 --- a/seaweed-block/docs/operator-guide.md +++ b/seaweed-block/docs/operator-guide.md @@ -188,7 +188,8 @@ default) can expire the host's slots; keep host clocks synchronized. - **For a newer recovery point:** set `--chunk-capture-interval` (at least 5 minutes), or take a snapshot before risky work. - **What does not publish:** a stop, a lease revocation and a lease expiry publish nothing. Only a cut, a snapshot or - a seal (`ops chunk detach --plain`) does. + a seal (`ops chunk detach --plain`) does. `systemctl stop` of a volume does not cut: before a stop after which the + host might not come back (maintenance, an upgrade), run `sw-block ops chunk cut` first. - **When SeaweedFS is unavailable** (the filer or a volume server is down): - Guest I/O continues from the local disk; in the tests no guest command failed, and every answer came within the test's 20 s bound (about 2 s at the slowest in the one measured run; that run's record was not kept). diff --git a/seaweed-block/docs/upgrade-v1.0.1.md b/seaweed-block/docs/upgrade-v1.0.1.md index a51fac14e0..d75f1a466e 100644 --- a/seaweed-block/docs/upgrade-v1.0.1.md +++ b/seaweed-block/docs/upgrade-v1.0.1.md @@ -48,7 +48,8 @@ every acknowledged write is kept; no seal and no move are needed. any `blockvolume` on this host that starts again, planned or not (for example after a lease expiry, exit 75, or a crash), starts as v1.0.1. That is supported: it is the same restart. 2. **For each volume on the host, one at a time:** - 1. Publish its changes with a cut, so that its recovery point is recent if the host is lost during the upgrade: + 1. Publish its changes with a cut, so that its recovery point is recent if the host is lost during the upgrade. + `systemctl stop` and `systemctl restart` do not cut by themselves; run the cut step first: ```bash sw-block ops chunk cut --volume v1 --status-addr STATUS