[SERVER-66208] Remove chunk creation for shard collection with existing data Created: 04/May/22 Updated: 29/Oct/23 Resolved: 26/May/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.3, 6.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Allison Easton | Assignee: | Pierlauro Sciarelli |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Backport Requested: |
v6.0
|
||||||||||||||||||||||||||||
| Sprint: | Sharding EMEA 2022-05-30 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
The UnoptimizedSplitPolicy for initial chunk creation chooses how many chunks to create using AutoSplitVector and creates all chunks on the primary shard. After disabling the autosplitter, it no longer makes sense to split the collection into chunks on a single shard for the initial split policy. After removing the autosplitter, we should just create a single chunk on the primary shard. |
| Comments |
| Comment by Githook User [ 14/Oct/22 ] |
|
Author: {'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}Message: |
| Comment by Githook User [ 14/Oct/22 ] |
|
Author: {'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}Message: Co-authored-by: Kaloian Manassiev <kaloian.manassiev@mongodb.com> |
| Comment by Githook User [ 26/May/22 ] |
|
Author: {'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}Message: |
| Comment by Githook User [ 25/May/22 ] |
|
Author: {'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}Message: Co-authored-by: Kaloian Manassiev <kaloian.manassiev@mongodb.com> |