Skip to content

Commit e24baab

Browse files
jmd-mongoandf-mongodb
authored andcommitted
DOCSP-13116 oplog space reclamation might require restart
1 parent f9be5a8 commit e24baab

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
@@ -119,7 +119,13 @@ The following operation runs the ``compact`` command against the
119119
.. code-block:: javascript
120120

121121
use local
122-
db.runCommand({ "compact" : "oplog.rs" } )
122+
db.runCommand({ "compact" : "oplog.rs" })
123+
124+
If the disk space allocated to the original oplog size is not
125+
reclaimed, restart :binary:`~bin.mongod` and run the above commands
126+
again. Restarting :binary:`~bin.mongod` runs recalculations in
127+
:doc:`WiredTiger </core/wiredtiger>` that might allow ``compact`` to
128+
release more space to the OS.
123129

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

0 commit comments

Comments
 (0)