We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44a0a72 commit 335cb12Copy full SHA for 335cb12
source/core/capped-collections.txt
@@ -228,6 +228,12 @@ You can resize a capped collection using the :dbcommand:`collMod` command's
228
``cappedSize`` option to set the ``cappedSize`` in bytes. ``cappedSize`` must be
229
greater than ``0`` and less than ``1e+15`` (1 PB).
230
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
237
For example, the following command sets the maximum size of the ``"log"`` capped
238
collection to 100000 bytes:
239
0 commit comments