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

Adapt sessions collection balacing policy to data-size aware balancing

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.3, 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • v6.0
    • Sharding EMEA 2022-05-30, Sharding EMEA 2022-06-13

    Description

      The sessions collection is sharded in order to spread sessions info across different nodes to avoid bottlenecks.
      Sessions load distribution has always happened by balancing the number of chunks across shards; with the introduction of data-size aware balancing, we should find a way to spread documents across shards considering that they are very small (~150/200 bytes in average) and their cumulative size is often much less than the default max chunk size (meaning that if balancing would happen on data size, nothing would be considered eligible to move).

      Attachments

        Activity

          People

            paolo.polato@mongodb.com Paolo Polato
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: