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

Pinned Servers should be cleared properly

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.1.0
    • Affects Version/s: None
    • Component/s: Core API
    • None

      Operations that use a pinned server don't properly clear the pinned server for retries because the pinned server is added directly to the driver.Operation. In order to fix this, we need to wrap the server selector in another server selector that will attempt to use a session's pinned server when server selection is taking place. An example of the fixed code can be found here: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/457635/6/mongo/session.go#192

            Assignee:
            manny.eppinger@mongodb.com Emmanuel Eppinger (Inactive)
            Reporter:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: