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

Don't add read preference for non-mongos server with OP_QUERY

    XMLWordPrintable

    Details

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

      Description

      GODRIVER-1032 and similar issues occur because we are appending a read preference with OP_QUERY when talking to a non-mongos server, which goes against the server selection spec (https://github.com/mongodb/specifications/blob/master/source/server-selection/server-selection.rst).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kris.brandow Kristofer Brandow (Inactive)
              Reporter:
              divjot.arora Divjot Arora
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: