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

Do not choose only first shard of all shards associated with a zone when pre-splitting during shard collection

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.2.3, 4.3.3, 4.0.15
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • v4.2, v4.0
    • Sharding 2019-12-16

    Description

      Currently, when pre-splitting a collection during shardCollection using existing zones, we choose the first shard associated with the zone to place a chunk on. This can cause a problem if there are many shards associated with the same zone - the balancer will still schedule migrations to balance the zones afterward.

      Attachments

        Activity

          People

            tommaso.tocci@mongodb.com Tommaso Tocci
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: