Database.current_op and MongoClient.unlock should use ReadPreference.PRIMARY

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Database.current_op is a query against the '$cmd.sys.inprog' namespace. MongoClient.unlock is a query against the '$cmd.sys.unlock' namespace. Neither of these are enforcing "primary" read preference when connected to a replica set.

            Assignee:
            Bernie Hackett
            Reporter:
            Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: