database_names prohibited on direct connection to secondary with MongoDB 3.0+

XMLWordPrintableJSON

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

      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 Hackett
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: