Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-29091

Stop putting $readPreference inside of $queryOptions in mongos

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Code, Sharding
    • Labels:
    • Query Execution
    • QE 2023-02-06, QE 2023-02-20, QE 2023-07-24, QE 2023-08-07, QE 2023-08-21, QE 2023-09-04

      Mongos currently wraps the $readPreference field inside of a $queryOptions object. Instead it should just put $readPreference at the top-level of the command, matching the format used by OP_MSG.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: