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

Get rid of `getSplitCandidatesForSessionsCollection` and `minNumChunksForSessionsCollection`

    XMLWordPrintableJSON

Details

    • 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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: