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

Trying to remove last voting member from replset gives strange error

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.8.0-rc2
    • Affects Version/s: 2.8.0-rc1
    • Component/s: Replication
    • None
    • ALL

      rs:PRIMARY> rs.remove("localhost:40001")
      {
      	"ok" : 0,
      	"errmsg" : "Replica set configuration contains 0 voting members, but must be between 0 and 7",
      	"code" : 103
      }
      

      should be "between 1 and 7"

            Assignee:
            spencer@mongodb.com Spencer Brody (Inactive)
            Reporter:
            joanna.cheng@mongodb.com Joanna Cheng
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: