seaweed-block: gateNoteMu also guards gateReplaces

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Chris LuandClaude Opus 5.5 committed 2026-12-05 01:31:52 -08:00
1 parent 6635e3b378
commit a0e484dba1
1 file changed
+1 -1
+1 -1
View File
@@ -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