Skip to content

Commit 040f783

Browse files
jmd-mongojeff-allen-mongo
authored andcommitted
DOCSP-13116 oplog space reclamation might require restart
1 parent 85c6e84 commit 040f783

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

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

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

0 commit comments

Comments
 (0)