The toBSON() for SplitHorizon serializes the strings in a StringMap in iterator order, which is by design nondeterministic. The resulting configs are equivalent, but since we use ordered comparisons to test if they are equivalent when seeing if contents have changed, we can erroneously detect changes in the set when there haven't been any. This can lead to extra network traffic (isSelf) and unnecessary read-concern-majority delay (because we will unnecessarily clear the committed snapshot)
ReplSetConfigWriteConcernModes has the same issue.
- is related to
-
SERVER-59866 Stop FCV from waiting for majority when currentCommittedSnapshot is dropped
- Closed