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

Use setVersion and electionId to detect stale primaries

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.2.2
    • None
    • Connectivity
    • None

    Description

      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:

      Attachments

        Activity

          People

            craig.wilson@mongodb.com Craig Wilson
            rathi.gnanasekaran Rathi Gnanasekaran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: