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

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.3, 4.3.3, 4.0.15
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.2, v4.0
    • Sprint:
      Sharding 2019-12-16
    • Case:

      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

            Assignee:
            tommaso.tocci Tommaso Tocci
            Reporter:
            janna.golden Janna Golden
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: