Shell setSlaveOk() returns unhelpful response

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Trivial - P5
    • 2.1.0
    • Affects Version/s: None
    • Component/s: Shell
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Here's what happens when you call setSlaveOk() from the shell

      > db.getMongo().setSlaveOk()
      not master and slaveok=false

      The response is very confusing, since there's no indication that slave ok has been set to true.

            Assignee:
            Antoine Girbal (Inactive)
            Reporter:
            Kyle Banker (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: