Skip to content

DOCSP-13748 clarify numInitialChunk meaning #4953

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 19, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions source/reference/command/shardCollection.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ Definition

- integer

- Specifies the number of chunks to create
initially when sharding an *empty* collection with a
- Specifies the initial number of chunks to create across all shards in
the cluster when sharding an *empty* collection with a
:ref:`hashed shard key <sharding-hashed-sharding>`. MongoDB
will then create and balance chunks across the cluster. The
``numInitialChunks`` must be less than ``8192`` per shard.
``numInitialChunks`` must result in less than ``8192`` per shard.

If the collection is not empty or the shard key does not
contain a hashed field, the operation returns an error.
Expand Down