mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 19:17:28 +01:00
seaweed-block: gateNoteMu also guards gateReplaces
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6635e3b378
commit
a0e484dba1
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user