mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 02:57:37 +01:00
seaweed-block: docs: no read of the line confirms a failover stays (#13449)
* seaweed-block: docs: read the line again before relying on a failover Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * seaweed-block: docs: a read of the line is a snapshot, not a confirmation The queued rebalance applies when blockmaster's assignment queue reaches it, so a second read can come before it as well. Say that no read confirms the primary stays, and that the guest is started again on the new primary if it moves later. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
16a6a70a08
commit
68f99dc114
2 files changed
+5
-2
No files matched your search
@@ -30,7 +30,10 @@ writing guest:
|
||||
6. **An operator failover can be undone by an automatic rebalance.** With `sync-all`, or `sync-quorum` and two
|
||||
replicas, a rebalance blockmaster decided just before `sw-block ops failover` can still be applied after it and move
|
||||
the primary again. No acknowledged write is lost. After a failover, read the line with
|
||||
`sw-block ops volumes --master-api <addr> -o json` and, if the primary moved, repeat the failover against it.
|
||||
`sw-block ops volumes --master-api <addr> -o json`, and if the primary moved, repeat the failover against it. A
|
||||
read shows the line at that moment only: blockmaster applies the queued rebalance when its assignment queue reaches
|
||||
it, not at a fixed time, so the primary can still move after any read, and the guest is then started again on the
|
||||
new primary (item 4).
|
||||
|
||||
**Planned for a later release.** Supported replicated volumes are planned for a later release; v1.1.x keeps every replicated
|
||||
configuration a preview. Replicated volumes are a preview: a primary cut off from the block master is not stopped
|
||||
|
||||
@@ -51,7 +51,7 @@ v1.1.1 is a fix release of the v1.1 line. None of its changes alters a stored fo
|
||||
- Affects replicated volumes (preview) whose acknowledgement profile allows a planned move: `sync-all`, or `sync-quorum` with two replicas.
|
||||
- blockmaster may decide an automatic rebalance, which moves the primary to a less loaded server, just before an operator's `sw-block ops failover`. If that rebalance is applied after the failover, it moves the primary again, away from the replica the operator chose.
|
||||
- No acknowledged write is lost: under these profiles every replica holds every acknowledged write.
|
||||
- What to do: after `sw-block ops failover`, read the volume's line with `sw-block ops volumes --master-api <addr> -o json`; if `primary_replica` moved again, repeat the failover with `--expect-current <primary_replica>@<epoch>`. A fix is planned for a later v1.1.x release.
|
||||
- What to do: after `sw-block ops failover`, read the volume's line with `sw-block ops volumes --master-api <addr> -o json`; if `primary_replica` moved again, repeat the failover with `--expect-current <primary_replica>@<epoch>`. No read confirms that the primary stays: blockmaster applies the queued rebalance when its assignment queue reaches it, not at a fixed time, so it can still move the primary after any read, and the guest is then started again on the new primary. A fix is planned for a later v1.1.x release.
|
||||
|
||||
## Known issue: resuming a snapshot delete that is still running can stop the volume's snapshot deletes and cleaning
|
||||
|
||||
|
||||
Reference in new issue
Block a user