Use setVersion and electionId to detect stale primaries

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • 2.2.2
    • Affects Version/s: None
    • Component/s: Connectivity
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:

      SDAM tests are also updated:

            Assignee:
            Craig Wilson
            Reporter:
            Rathi Gnanasekaran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: