[SERVER-35794] Read zone information for a collection during internal shardCollection command Created: 25/Jun/18 Updated: 29/Oct/23 Resolved: 18/Jul/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.2, 4.1.1 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Janna Golden | Assignee: | Cheahuychou Mao |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Minor Change | ||||||||||||||||||||||||||||||||
| Backport Requested: |
v4.0
|
||||||||||||||||||||||||||||||||
| Sprint: | Sharding 2018-07-16, Sharding 2018-07-30 | ||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||
| Description |
|
The new internal shardCollection command that is run on the primary shard should read zone information from the config server if existent for the collection. It should use these zones to create the initial split points. If the shard key is not consistent with existing zone information, should throw an IllegalZone exception. |
| Comments |
| Comment by Githook User [ 15/Aug/18 ] |
|
Author: {'username': 'cheahuychou', 'email': 'cheahuychou.mao@mongodb.com', 'name': 'Cheahuychou Mao'}Message: (cherry picked from commit e7736e0424eccf99431cc302447dad7fc2f14c4d) |
| Comment by Githook User [ 18/Jul/18 ] |
|
Author: {'username': 'cheahuychou', 'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com'}Message: |