mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-09-29 03:05:59 +00:00
fix: Phase 20 T3 — add V2 promotion observability to FailoverDiagnostic
FailoverDiagnostic now carries V2PromotionEnabled and V2PromotionReady fields. MasterServer.FailoverDiagnosticSnapshot() enriches the failover state diagnostic with rollout gate visibility so operators can confirm whether the master is on V1, V2, or V2-fail-closed-placeholder mode. Update phase-20.md: document default=false rollout policy (safe default until proto regen enables evidence RPC, then flip to default true). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
43016e6645
commit
2b97cd04b8
@@ -207,9 +207,11 @@ authorization.
|
||||
6. Bump epoch, enqueue assignment to selected candidate
|
||||
|
||||
**Legacy fallback policy**:
|
||||
- Add `--block.v2-promotion` flag (default `true`)
|
||||
- Add `--block.v2Promotion` flag (default `false` — safe rollout default
|
||||
until proto regen enables the evidence RPC; once RPC is live, flip to
|
||||
default `true`)
|
||||
- When `true`: `promoteReplicaV2()` with fail-closed on evidence failure
|
||||
- When `false`: existing `promoteReplica()` (V1 path)
|
||||
- When `false`: existing `promoteReplicaV1()` (V1 path)
|
||||
- The flag is observable via `/vol/status` and metrics
|
||||
- The flag is intended to be removed once V2 is validated, not permanent
|
||||
|
||||
|
||||
Reference in New Issue
Block a user