Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2828

SDAM error handling doesn't ignore errors based on topology version correctly

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.12.0, 1.11.7
    • Affects Version/s: 1.10.3, 1.11.4
    • Component/s: SDAM
    • None
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      While processing errors, the SDAM error handling function ProcessError attempts to compare the topology version on the error to the current topology version known by the Go driver. However, the Go driver uses the connection's topology version (see here), which is never updated after the connection is created. The Go driver should ignore errors where the error topology version is the same or older than the current driver topology version. However, it will instead act on those errors as if the error topology version were newer.

            Assignee:
            matt.dale@mongodb.com Matt Dale
            Reporter:
            matt.dale@mongodb.com Matt Dale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: