Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1526

Use setVersion and electionId to detect stale primaries

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.2.2
    • Affects Version/s: None
    • Component/s: Connectivity
    • 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@mongodb.com Craig Wilson
            Reporter:
            rathi.gnanasekaran Rathi Gnanasekaran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: