Skip to content

Commit d014486

Browse files
authored
DOCSP-26834 defrag warning (#2223)
* DOCSP-26834 Adds warning on defragmentCollection * Updates warning text * Updates warning text
1 parent 09a5110 commit d014486

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:`Range Size <sharding-range-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)