Skip to content

Commit 34bcbc6

Browse files
committed
DOCS-557 add note to convertToCapped method
1 parent 5c7a37f commit 34bcbc6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

source/reference/command/convertToCapped.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ convertToCapped
88

99
The :dbcommand:`convertToCapped` command converts an existing,
1010
non-capped collection to a :term:`capped collection`.
11-
11+
1212
The command has the following syntax:
1313

1414
.. code-block:: javascript
@@ -31,6 +31,11 @@ convertToCapped
3131
the documents will be aged out of the collection based on
3232
insertion order(First In, First Out).
3333

34+
.. note::
35+
36+
The :dbcommand:`convertToCapped` command is not supported in a
37+
sharded cluster.
38+
3439
.. warning::
3540

3641
The :dbcommand:`convertToCapped` will not recreate indexes from

0 commit comments

Comments
 (0)