Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2559

Reduce race conditions in SDAM error handling

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0
    • Component/s: None
    • Labels:
      None

      Description

      Description of Drivers Ticket:

      This work has been spun off from DRIVERS-640.

      Reduce race conditions in SDAM error handling. In summary, drivers will update their SDAM and error handling logic to:

      • Add topologyVersion field to ServerDescription.
      • Ignore stale errors based on generation number and topologyVersion.
      • Add SDAM spec tests for topologyVersion comparison.

      Spec PR: https://github.com/mongodb/specifications/pull/781

      Spec commit:
      Author:

      {'name': 'Shane Harvey', 'email': 'shane.harvey@mongodb.com', 'username': 'ShaneHarvey'}

      Message: SPEC-1663 Reduce race conditions in SDAM error handling (#781)

      Add topologyVersion field to ServerDescription.
      Add SDAM spec tests for topologyVersion comparison.
      Clients ignore stale errors based on generation number and topologyVersion.
      Branch: master
      https://github.com/mongodb/specifications/commit/7dd9c008be6edaf65368787d5e91c2ac3aeb95b8
      See DRIVERS-1187 for updated details.

        Attachments

          Activity

            People

            Assignee:
            matt.broadstone Matt Broadstone
            Reporter:
            backlog-server-pm Backlog - DB Eng Program Management Team
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: