PyMongo doesn't include $readPreference in mongos commands

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      PyMongo ought to include $readPreference in "secondary-ok" command documents sent to mongos, but in the unreleased PyMongo 3 code it does not.

      A fix should likely wait for command handling to be slightly refactored in PYTHON-857 first.

              Assignee:
              Bernie Hackett
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: