Skip to content

Commit 335cb12

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCS-15579 capped collections update (#1739)
* DOCS-15579-capped-collections-update * DOCS-15579-capped-collections-update * DOCS-15579-capped-collections-update * DOCS-15579-capped-collections-update Co-authored-by: jason-price-mongodb <[email protected]>
1 parent 44a0a72 commit 335cb12

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

source/core/capped-collections.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,12 @@ You can resize a capped collection using the :dbcommand:`collMod` command's
228228
``cappedSize`` option to set the ``cappedSize`` in bytes. ``cappedSize`` must be
229229
greater than ``0`` and less than ``1e+15`` (1 PB).
230230

231+
.. note::
232+
233+
Before you can resize a capped collection, you must have already set
234+
the :ref:`featureCompatibilityVersion <set-fcv>` to at least version
235+
``"6.0"``.
236+
231237
For example, the following command sets the maximum size of the ``"log"`` capped
232238
collection to 100000 bytes:
233239

0 commit comments

Comments
 (0)