-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.14.0, 3.2.0
-
Component/s: Cluster Management
-
None
This is a change to the Server Discovery and Monitoring Specification specification.
Because electionIds from different protocol versions aren't comparable,
drivers must compare (setVersion, electionId) tuples to detect stale
primaries.
You can see the details of the spec change in these commits:
- https://github.com/mongodb/specifications/commit/f63e74c8565c6515ce5c81feee29feb5008328e1
- https://github.com/mongodb/specifications/commit/73b92206002c41243facc745036512aa8a44b6f4
SDAM tests are also updated:
- is depended on by
-
DRIVERS-279 Use setVersion and electionId to detect stale primaries
- Closed