[SERVER-13610] change logged warning for even number of nodes replica sets Created: 16/Apr/14  Updated: 11/Jul/16  Resolved: 02/Jun/14

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 2.7.2

Type: Bug Priority: Major - P3
Reporter: Asya Kamsky Assignee: Matt Dannenberg
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

When you change config that creates a replica set with an even number of votes the warning logged in the log is:

"replSet total number of votes is even - add arbiter or give one member an extra vote"

Since we no longer allow giving votes > 1 (SERVER-10513) the message should be changed to something like "replSet total number of votes is even - add arbiter or set votes to 0 on one of the members"

Maybe even change "number of votes is even" to "even number of voting members in replica set" since the number being even cannot be caused by anything other than even number of voting members.



 Comments   
Comment by Githook User [ 02/Jun/14 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-13610 update even number of votes warning due to non-numeric votes
Branch: master
https://github.com/mongodb/mongo/commit/b007d671ecda744635846279baf60357c70e3ee9

Comment by Githook User [ 02/Jun/14 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-13610 update even number of votes warning due to non-numeric votes
Branch: master
https://github.com/mongodb/mongo/commit/174c677aec7671b4d7b7dfeda1f769b9a14cc7e1

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