Trying to remove last voting member from replset gives strange error

XMLWordPrintableJSON

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

      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 Brody (Inactive)
            Reporter:
            Joanna Cheng
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: