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

Pinned Servers should be cleared properly

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.1.0
    • Core API
    • None

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: