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

database_names prohibited on direct connection to secondary with MongoDB 3.0+

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • 2.8.1
    • None
    • None
    • Fully Compatible

    Description

      The behavior of the listDatabases command changed in MongoDB 3.0, requiring the slaveOk bit be set when run against a secondary/slave. See SERVER-15994. Fix PyMongo 2.x to work around the server change. PyMongo 3.x already does the right thing.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: