-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Replication
-
Fully Compatible
-
ALL
-
Repl 2025-03-31
-
0
-
None
-
None
-
None
-
None
-
None
-
None
-
None
SERVER-85915 introduced a new variable `limitLogFrequency` in `isEligibleSyncSource` in topology_coordinator.cpp to reduce excess logging in the case of `shouldChangeSyncSourceDueToPingTime`. `shouldLogIneligibleCandidate` was meant to control logging and always log unless it was in `shouldChangeSyncSourceDueToPingTime` when it would be false if it limitLogFrequency is true and we had already logged this reason in the last 1 second. Missing negation on `limitLogFrequency` in this expression is causing `shouldLogIneligibleCandidate` to be the opposite of what it should be.
- related to
-
SERVER-85915 Cannot select sync source because we are a voter and it is not
-
- Closed
-