replace all uses of db.$cmd.findOne() with db.runCommand in shell js and jstests

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 3.1.4
    • Affects Version/s: None
    • Component/s: JavaScript
    • None
    • Fully Compatible
    • Platform 4 06/05/15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      runCommand will either use OP_COMMAND or OP_QUERY depending on how the connection is configured. As such, everything should go through runCommand rather than calling find directly.

            Assignee:
            Adam Midvidy (Inactive)
            Reporter:
            Adam Midvidy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: