From a0e484dba15795b3aacad7a79f10ddbbed429478 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 5 Dec 2026 01:31:52 -0800 Subject: [PATCH] seaweed-block: gateNoteMu also guards gateReplaces Co-Authored-By: Claude Opus 5.5 --- seaweed-block/core/host/master/host.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seaweed-block/core/host/master/host.go b/seaweed-block/core/host/master/host.go index a73c7593ca..22702d7846 100644 --- a/seaweed-block/core/host/master/host.go +++ b/seaweed-block/core/host/master/host.go @@ -147,7 +147,7 @@ type Host struct { attest *storeAttestations // primaries' attested write-ACK stores healthMu sync.Mutex // orders replica health events with their accepted heartbeats (#128 rule 6) log *log.Logger - gateNoteMu sync.Mutex // guards gateNoteLast + gateNoteMu sync.Mutex // guards gateNoteLast and gateReplaces gateNoteLast map[string]string // per kind, the last skip or drop a product-loop tick logged (noteGate) gateReplaces []gateReplace // this tick's replace decisions, reported after the submit (reportReplaces) primaryLossMu sync.Mutex // guards primaryLoss