From be0ecab7e6e0869556a49e76c3c173ce14acf156 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Wed, 25 Nov 2026 06:52:49 -0800 Subject: [PATCH] nvmerdma: the test's fencing round answers on read evidence The test's gate fake fenced its survivors without saying their evidence was read, so since a fenced answer counts only on a read, valid table, it had no survivor and the failover it asserts never came. Co-Authored-By: Claude Opus 5.5 --- seaweed-block/core/frontend/nvmerdma/failover_reopen_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/seaweed-block/core/frontend/nvmerdma/failover_reopen_test.go b/seaweed-block/core/frontend/nvmerdma/failover_reopen_test.go index dc25bd8386..2617ae72b7 100644 --- a/seaweed-block/core/frontend/nvmerdma/failover_reopen_test.go +++ b/seaweed-block/core/frontend/nvmerdma/failover_reopen_test.go @@ -32,6 +32,7 @@ func (readyGate) FencePromotionCandidates(_ string, current authority.AuthorityB res := master.PromotionProbeResult{FencedEpoch: current.Epoch + 1} for _, s := range survivors { s.Floor = current.Epoch + 1 + s.TableValid = true // a replica that obeys reads its evidence res.Candidates = append(res.Candidates, s) } return res, nil