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

Pre-split new collections when using a hashed shard key

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.1
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: