After SERVER-24213 we will be returning success when running addShard for a shard that already exists. Rather than just accepting the shard name and replica set name matching an existing shard, we should also contact the proposed shard, read its shardIdentity document, and verify that the relevant information matches what we expect for the existing shard (clusterId, shardId, etc)
- is related to
-
SERVER-22660 OpObserver on config server for inserts to config.shards from old mongos
- Closed
-
SERVER-24213 Make addShard return success if attempting to add an already existing shard
- Closed