mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 19:17:28 +01:00
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 <noreply@anthropic.com>
This commit is contained in:
1 parent
f8469b7f45
commit
1d410f8ccb
2 files changed
+4
-2
No files matched your search
@@ -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).
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user