From 816fcaed82a23b697a9ff3e5245748960c75f4e5 Mon Sep 17 00:00:00 2001 From: Naomi Pentrel <5212232+npentrel@users.noreply.github.com> Date: Mon, 1 Feb 2021 21:54:50 +0100 Subject: [PATCH] DOCSP-13748 clarify numInitialChunk meaning --- source/reference/command/shardCollection.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/reference/command/shardCollection.txt b/source/reference/command/shardCollection.txt index 66b09fabd77..d4594f82ba1 100644 --- a/source/reference/command/shardCollection.txt +++ b/source/reference/command/shardCollection.txt @@ -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 `. 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.