[SERVER-65021] Avoid creating small chunks if `autoSplitVector` called with a limit > 1 Created: 29/Mar/22 Updated: 29/Oct/23 Resolved: 30/Mar/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Pierlauro Sciarelli | Assignee: | Pierlauro Sciarelli |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Sharding EMEA 2022-04-04 |
| Participants: |
| Description |
|
This comparison is intended to avoid autoSplitVector to return a split point recalculated in order to don't create a small chunk on the right. While it is correct to expect at least 2 split points for balancing purposes, small chunks may be created in case some future usage will rely on theĀ limit argument. |
| Comments |
| Comment by Githook User [ 30/Mar/22 ] |
|
Author: {'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}Message: |