[SERVER-19545] Prohibit config server replica sets from being added as shards Created: 23/Jul/15 Updated: 25/Jan/17 Resolved: 03/Aug/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.7 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Andy Schwerin | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Sprint: | Sharding 7 08/10/15 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
We should adjust the addShard code so that it refuses to add CSRS replica sets as shards. It should detect that the node is a config server by running replSetGetStatus, and in addition to checking for “info: configsvr”, it should also detect “configServer: true” and reject adding shards that report that. To that end, replSetGetStatus should also report configServer: true as a top level field if the replica set config document indicates that the replica set is for a config server per |
| Comments |
| Comment by Githook User [ 08/Aug/15 ] |
|
Author: {u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}Message: |
| Comment by Githook User [ 03/Aug/15 ] |
|
Author: {u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}Message: |