[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: SERVER-65021 Avoid creating small chunks if `autoSplitVector` called with a limit > 1
Branch: master
https://github.com/mongodb/mongo/commit/9a41c7c67f7bfb9ca68858a37b7863e32796cc09

Generated at Thu Feb 08 06:01:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.