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

Pre-split new collections when using a hashed shard key

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.3.1
    • Affects Version/s: 2.3.0
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible

      When using a hashed shard key on a new collection, we can pre-split the range into many chunks, and redistribute those chunks before data is inserted, to avoid shuffling data around later. Users can currently do this manually by calling the 'split' command before inserting data, but we should do it automatically on new collections.

            Assignee:
            matulef Kevin Matulef
            Reporter:
            matulef Kevin Matulef
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: