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

Stop putting $readPreference inside of $queryOptions in mongos

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Internal Code, Sharding
    • 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

    Description

      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.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: