Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1775

Add some caution notes regarding creating a new hashed collection

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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. So it would be recommended that the balancer is not running when creating a new hashed collection.

            Assignee:
            zack.brown@10gen.com Zack Brown
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              10 years, 36 weeks ago