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

Shell setSlaveOk() returns unhelpful response

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • 2.1.0
    • None
    • Shell
    • None

    Description

      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.

      Attachments

        Activity

          People

            antoine Antoine Girbal
            kbanker Kyle Banker
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: