[SERVER-52769] Create shard key index if doesn't exist as part of creating the temporary resharding collection Created: 11/Nov/20 Updated: 29/Oct/23 Resolved: 09/Dec/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Blake Oler | Assignee: | Blake Oler |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | PM-234-M2, PM-234-T-lifecycle | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Sharding 2020-12-14 |
| Participants: | |
| Story Points: | 1 |
| Description |
|
This would be mimicking the logic shardCollection has to implicitly create a new index if no suitable index for the shard key pattern is found in resharding_recipient_service.cpp. createTemporaryReshardingCollectionLocally() currently only builds the same set of indexes the MinKey-chunk owning donor shard has.
|
| Comments |
| Comment by Githook User [ 09/Dec/20 ] |
|
Author: {'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}Message: |