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

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.1.0
    • Core API
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: