[SERVER-55287] Make autosplitter behavior consistent with v4.2 Created: 18/Mar/21  Updated: 21/Jun/21  Resolved: 21/Jun/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 4.9.0, 4.4.5
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Pierlauro Sciarelli
Resolution: Won't Do Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Sharding 2021-03-22, Sharding 2021-04-05, Sharding EMEA 2021-05-31, Sharding EMEA 2021-06-14, Sharding EMEA 2021-06-28
Participants:

 Description   

SERVER-14052 introduced some changes that have solved a bug for splitting chunks containing just 2 distinct values, but at the same time potentially increased the number of chunk splits happening.

As per this comment:

  • v4.2 behavior: chunk reaches maxChunkSize + ε ---> split in 3 chunks
  • v4.4 current behavior: chunk reaches maxChunkSize / 2 + ε ---> split in 2 chunks

Generated at Thu Feb 08 05:36:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.