From 3aafd4e1f180f100fbf299daf7083b2461e64eaa Mon Sep 17 00:00:00 2001 From: pingqiu Date: Tue, 24 Nov 2026 10:28:49 -0800 Subject: [PATCH] fix(master): never reassign on a primary that did not answer its status probe An unknown fact is not a failed one: the unsupported promotion path now moves the line only on the current primary's own not-ready report, like the supported path. Co-Authored-By: Claude Opus 5.5 --- seaweed-block/core/host/master/product_loop.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/seaweed-block/core/host/master/product_loop.go b/seaweed-block/core/host/master/product_loop.go index e7e546bc62..6ce027a580 100644 --- a/seaweed-block/core/host/master/product_loop.go +++ b/seaweed-block/core/host/master/product_loop.go @@ -336,7 +336,9 @@ func (h *Host) applyUnsupportedPromotionEvidenceGate(placements []lifecycle.Plac break } } - if enabledCandidate && (!result.CurrentKnown || !result.Current.Ready) { + // Only a positive not-ready report from the current primary moves the + // line. A primary that did not answer is unknown, never failed. + if enabledCandidate && result.CurrentKnown && !result.Current.Ready { // Unsupported does not mean the current primary is unhealthy: // a different slot may be stale. Judge the current primary // from its own fresh heartbeat slot, never from placement.