[SERVER-24797] mark shard as state=invalid in config.shards on DuplicateKeyError from shardIdentity upsert Created: 24/Jun/16 Updated: 06/Dec/22 Resolved: 25/Aug/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Esha Maharishi (Inactive) | Assignee: | [DO NOT USE] Backlog - Sharding Team |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Sharding
|
||||||||
| Backwards Compatibility: | Minor Change | ||||||||
| Sprint: | Sharding 2016-08-29 | ||||||||
| Participants: | |||||||||
| Description |
|
And make mongos ignore shards in config.shards that are marked as invalid (maybe don't create a Shard object for them on ShardRegistry::reload())? |