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

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

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

      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).

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

              Created:
              Updated:
              Resolved: