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

Improve distribution of new chunks when creating hashed sharded collections

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Sharding

      When creating a new hashed collection, it will perform a presplit and move chunks to the other nodes. However, the move chunk command can fail for a couple of reasons:

      1. Migration already in progress on the donor.
      2. Migration clean up is in progress on the destination shard.

      As a result, the initial chunks will be unbalanced. This would mean that the balancer would have to move them later on, which is not ideal since moving chunks of a hashed collection is slow.

            Assignee:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'slack.nextup.jira:slack-integration-plus'. Please contact your Jira administrators.