RunCommand does not pass read preference to operations layer

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.4.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      RunCommand/RunCommandCursor use the read preference to create a server selector. In addition to this, they should pass it down to the operations layer so a $readPreference can be added to the command. This is important when connected to a sharded cluster because mongos relies on the $readPreference field in the command to select a server.

            Assignee:
            Divjot Arora (Inactive)
            Reporter:
            Divjot Arora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: