Details
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
- depends on
-
SERVER-2001 option to hash shard key
-
- Closed
-
- is related to
-
DOCS-762 Document hashed shard key
-
- Closed
-
- related to
-
DOCS-1398 hashed shard key, add link/blurb about manually splitting
-
- Closed
-
-
SERVER-3602 Add fast-path for migrating empty chunks
-
- Closed
-