Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-78657

Get rid of `getSplitCandidatesForSessionsCollection` and `minNumChunksForSessionsCollection`

    • Sharding EMEA
    • Fully Compatible
    • v7.0
    • Sharding EMEA 2023-07-24, Sharding EMEA 2023-08-07, Sharding EMEA 2023-08-21, Sharding EMEA 2023-09-04
    • 2

      Starting from v6.0, the balancer is distributing data based on the data size on shards and not merely on the number of chunks. Because of that, it is totally useless to presplit the session collection during balancing rounds and it's also counterproductive because (1) chunks will not be moved and (2) starting from v7.0 the auto merger will squash them back together.

            Assignee:
            pol.pinol@mongodb.com Pol Pinol
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: