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

mongos should apply client's read preference to all commands

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • Cluster Scalability
    • Major Change

    Description

      If mongos is committed to matching the drivers Server Selection Spec, it needs to be updated to match behavior we decided on for drivers last year. See this section of the Server Selection Spec:

      https://github.com/mongodb/specifications/blob/master/source/server-selection/server-selection.rst#use-of-read-preferences-with-commands

      mongos should obey the "$readPreference" document sent with any command, regardless of the command name. The "whitelist" from the old Read Preferences spec is superseded by the new, simpler Server Selection Spec behavior.

      Attachments

        Activity

          People

            backlog-server-cluster-scalability Backlog - Cluster Scalability
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: