[SERVER-49510] Add functionality to pick new split points during resharding when zones not defined Created: 14/Jul/20 Updated: 29/Oct/23 Resolved: 06/Aug/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Janna Golden | Assignee: | Kshitij Gupta |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | PM-234-M3, PM-234-T-new-split | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Sharding 2020-07-27, Sharding 2020-08-10 | ||||||||
| Participants: | |||||||||
| Description |
|
Add a new subclass of InitialSplitPolicy that will pick split points and create chunks for the new shard key based on the existing data in the collection. This ticket is meant to only cover the case where zones are not defined (or an empty zones list is passed in). There are two important methods to define in this class:
2. createFirstChunks
For the purposes of this ticket (and until We should add unit testing for this in initial_split_policy_test.cpp. |
| Comments |
| Comment by Githook User [ 06/Aug/20 ] |
|
Author: {'name': 'Kshitij Gupta', 'email': 'kshitij.gupta@mongodb.com', 'username': 'kshitijng'}Message:
|
| Comment by Githook User [ 05/Aug/20 ] |
|
Author: {'name': 'Kshitij Gupta', 'email': 'kshitij.gupta@mongodb.com', 'username': 'kshitijng'}Message: |