[SERVER-19696] Don't allow using a replica set as the config server unless it has configServer:true in its replica set config Created: 31/Jul/15 Updated: 25/Jan/17 Resolved: 23/Sep/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication, Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.9 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Spencer Brody (Inactive) | Assignee: | Andy Schwerin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Sprint: | Sharding 7 08/10/15, Sharding 9 (09/18/15), Sharding A (10/09/15) | ||||||||||||||||
| Participants: | |||||||||||||||||
| Comments |
| Comment by Andy Schwerin [ 23/Sep/15 ] |
|
I believe the 3.1.8 release notes already mention this, but it is necessary to pass --configsvr when starting a mongod as a config server. With this patch, the code will enforce that config servers are started with --configsvr and that shards are not. Shards and mongos nodes will generally refuse to interact with config servers started without --configsvr. |
| Comment by Githook User [ 23/Sep/15 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: Also, prohibit nodes started without --configsvr from acting as config servers. |
| Comment by Githook User [ 23/Sep/15 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: All nodes used as config servers should be started with --configsvr, and |
| Comment by Andy Schwerin [ 22/Sep/15 ] |
|
It appears that code changes are required to support this. |
| Comment by Andy Schwerin [ 17/Sep/15 ] |
|
This may just need to be verified as already working. |