Skip to content

Commit 0ab8a26

Browse files
npentrelandf-mongodb
authored andcommitted
DOCSP-13748 clarify numInitialChunk meaning
1 parent 1d4e23c commit 0ab8a26

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/reference/command/shardCollection.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@ Definition
101101

102102
- integer
103103

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

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

0 commit comments

Comments
 (0)