Skip to content

Commit 7bad450

Browse files
authored
DOCSP-26834 defrag warning (#2223) (#2226)
* DOCSP-26834 Adds warning on defragmentCollection * Updates warning text * Updates warning text
1 parent 0b02a1e commit 7bad450

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

source/reference/command/configureCollectionBalancing.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,13 @@ For more information, see :ref:`Chunk Size <sharding-chunk-size>`.
117117
Defragment Collections
118118
~~~~~~~~~~~~~~~~~~~~~~
119119

120+
.. warning::
121+
122+
We do not recommend using ``defragmentCollection`` to defragment sharded
123+
collections for MongoDB 6.0.0 to 6.0.3 and MongoDB 6.1.0 to 6.1.1, as the
124+
defragmentation process on these releases can make databases and collections
125+
unavailable for extended periods of time.
126+
120127
To tell the balancer to defragment a sharded collection, use the
121128
``defragmentCollection`` option:
122129

0 commit comments

Comments
 (0)