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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.1.0
    • Affects Version/s: None
    • Component/s: Core API
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              Kristofer Brandow (Inactive)
              Reporter:
              Divjot Arora (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: