[SERVER-19933] check validity of "configsvr:true" at config validation time Created: 13/Aug/15  Updated: 19/Sep/15  Resolved: 17/Aug/15

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

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

Issue Links:
Related
is related to SERVER-19762 Don't allow nodes started with --conf... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Currently, no check is made at config validation time if the value of "configsvr" in the new replica set config matches the value of the equivalent command line argument "--configsvr". This means if you start nodes without --configsvr and reconfig or initiate with a config that contains "configsvr:true", the reconfig or initiate command succeeds, but all nodes in the replica set immediately transition to REMOVED state.
Instead, the reconfig or initiate command should fail and return an error.



 Comments   
Comment by Githook User [ 17/Aug/15 ]

Author:

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

Message: SERVER-19933 check validity of "configsvr:true" at config validation time
Branch: master
https://github.com/mongodb/mongo/commit/c7dd833670349b9ad4817b5eaafe6742cdd873f3

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