From 6f23643428df0be9ec3f5719d98ea384837e95ed Mon Sep 17 00:00:00 2001 From: pingqiu Date: Sat, 28 Nov 2026 18:14:21 -0800 Subject: [PATCH] docs(upgrade): order rule and three mixed-version facts blockmaster before any host (the reverse is not supported); no volume above 256 GiB until every host runs v1.0.1; a restore target in the cluster spec first; cluster.check reports an older build for a v1.0.0 holder. Co-Authored-By: Claude Opus 5.5 --- seaweed-block/docs/upgrade-v1.0.1.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/seaweed-block/docs/upgrade-v1.0.1.md b/seaweed-block/docs/upgrade-v1.0.1.md index fee5cb1aa9..fd6ea55221 100644 --- a/seaweed-block/docs/upgrade-v1.0.1.md +++ b/seaweed-block/docs/upgrade-v1.0.1.md @@ -12,6 +12,9 @@ in its log. There is no conversion step and no flag to set. 2. **Then each volume host, one at a time.** Each volume on the host serves again before you start on the next host. 3. **The `sw-block` CLI last.** +The order matters: blockmaster must be v1.0.1 before any volume host is. A v1.0.0 blockmaster with a v1.0.1 volume +host is not supported (not tested). + Before you start: for each volume that runs with `--chunk-control-endpoint`, take a snapshot (`sw-block ops chunk snapshot`), so that it has a recent restore point whatever happens during the upgrade. A volume without the endpoint cannot be asked for a snapshot or a cut; its recovery point during the upgrade stays its last @@ -33,7 +36,13 @@ started again by its unit and serves again once blockmaster is back and its barr During the rest of the upgrade, blockmaster is v1.0.1 while some volume hosts and the `sw-block` CLI are still v1.0.0. This mixed state is supported: v1.0.0 holders keep serving, snapshots and restores work, and the commands of -step 2 run from the v1.0.0 CLI. +step 2 run from the v1.0.0 CLI. In it: + +- Do not create a volume larger than 256 GiB until every host runs v1.0.1. A v1.0.0 holder cannot serve one (see + [Downgrade](#downgrade)). +- A restore's target must be in the cluster spec before the restore: a v1.0.1 blockmaster refuses a target that is + not. +- `cluster.check` against a volume whose holder is still v1.0.0 reports an older build for it, never `ok`. ## 2. Each volume host