Make autosplitter behavior consistent with v4.2

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: 4.9.0, 4.4.5
    • Component/s: Sharding
    • Sharding 2021-03-22, Sharding 2021-04-05, Sharding EMEA 2021-05-31, Sharding EMEA 2021-06-14, Sharding EMEA 2021-06-28
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Pierlauro Sciarelli
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: