Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-279

Use setVersion and electionId to detect stale primaries

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Public
    • Labels:
      None
    • # Replies:
      1
    • Last comment by Customer:
      false

      Description

      This is a change to the SDAM 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:

      NOTE: Make sure to update the test runner to assert on electionId and setVersion equality

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rathi.gnanasekaran Rathi Gnanasekaran
              Reporter:
              david.golden David Golden
              Participants:
              Last commenter:
              Ian Whalen
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                5 years, 3 weeks, 5 days ago
                Date of 1st Reply: