Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2705

Shell setSlaveOk() returns unhelpful response

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 2.1.0
    • Affects Version/s: None
    • Component/s: Shell
    • Labels:
      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 Antoine Girbal
            Reporter:
            kbanker Kyle Banker
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: