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

Improve distribution of new chunks when creating hashed sharded collections

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Sharding
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-sharding Backlog - Sharding Team
              randolph@mongodb.com Randolph Tan
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: