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

Balancer ignores jumbo chunks from balancing calculations

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.3.2
    • 2.2.0
    • Sharding
    • ALL

    Description

      Currently jumbo chunks are ignored from the balancing equation altogether.

      This means that if one shard has a large number of jumbo chunks it will achieve equilibrium with the other shards on the number of non-jumbo chunks and have the additional jumbo chunks as overhead.

      Eg.
      Collection has 334 Chunks of which 70 are jumbo.
      Shard1(primary shard) has 158 chunks (88 + 70)
      Shard2 has 88 chunks
      Shard3 has 88 chunks

      The balancer sees all three shards as having 88 chunks as the 70 jumbo chunks are ignored from the count. This leaves the cluster heavily unbalanced.

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            david.hows David Hows
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: