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

database_names prohibited on direct connection to secondary with MongoDB 3.0+

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

      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.

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

              Created:
              Updated:
              Resolved: