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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.1.0
    • None
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: