mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 18:47:20 +01:00
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 <noreply@anthropic.com>
This commit is contained in:
1 parent
e42aadf793
commit
6f23643428
1 file changed
+10
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user