From 691adba5e3ea031c6e657c88a917a9fa40dcd576 Mon Sep 17 00:00:00 2001 From: Kevin Adistambha Date: Fri, 12 Jan 2018 17:48:22 +1100 Subject: [PATCH] DOCS-8986 clarify compact with MMAPv1 and WiredTiger --- source/reference/command/compact.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/reference/command/compact.txt b/source/reference/command/compact.txt index b46283cd5a2..6f7fb7b1f16 100644 --- a/source/reference/command/compact.txt +++ b/source/reference/command/compact.txt @@ -207,9 +207,10 @@ You cannot issue :dbcommand:`compact` against a :binary:`~bin.mongos` instance. Capped Collections ~~~~~~~~~~~~~~~~~~ -It is not possible or necessary to compact :term:`capped collections ` because they lack padding and their documents cannot grow. -As a result, they cannot become fragmented. +On :ref:`MMAPv1 `, it is not possible to compact :term:`capped collections `. + +On :ref:`WiredTiger `, the :dbcommand:`compact` command will attempt to compact the collection. Index Building ~~~~~~~~~~~~~~