Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-865

PyMongo doesn't include $readPreference in mongos commands

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.0
    • None
    • None
    • Fully Compatible

    Description

      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.

      Attachments

        Activity

          People

            bernie@mongodb.com Bernie Hackett
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: