[SERVER-16400] Trying to remove last voting member from replset gives strange error Created: 03/Dec/14  Updated: 04/Dec/14  Resolved: 03/Dec/14

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 2.8.0-rc1
Fix Version/s: 2.8.0-rc2

Type: Bug Priority: Minor - P4
Reporter: Joanna Cheng Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

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"



 Comments   
Comment by Githook User [ 03/Dec/14 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-16400 Correct bounds in replica set config validation error message
Branch: master
https://github.com/mongodb/mongo/commit/a4a0d47858e822028dab80f142e9b5f7b5be9520

Generated at Thu Feb 08 03:40:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.