Skip to content

Commit 0b757c7

Browse files
jmd-mongojeff-allen-mongo
authored andcommitted
DOCSP-13116 oplog space reclamation might require restart
1 parent ea2fb80 commit 0b757c7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

source/tutorial/change-oplog-size.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,13 @@ The following operation runs the ``compact`` command against the
110110
.. code-block:: javascript
111111

112112
use local
113-
db.runCommand({ "compact" : "oplog.rs" } )
113+
db.runCommand({ "compact" : "oplog.rs" })
114+
115+
If the disk space allocated to the original oplog size is not
116+
reclaimed, restart :binary:`~bin.mongod` and run the above commands
117+
again. Restarting :binary:`~bin.mongod` runs recalculations in
118+
:doc:`WiredTiger </core/wiredtiger>` that might allow ``compact`` to
119+
release more space to the OS.
114120

115121
For clusters enforcing :ref:`authentication <authentication>`,
116122
authenticate as a user with the :authaction:`compact` privilege

0 commit comments

Comments
 (0)