We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea2fb80 commit 0b757c7Copy full SHA for 0b757c7
source/tutorial/change-oplog-size.txt
@@ -110,7 +110,13 @@ The following operation runs the ``compact`` command against the
110
.. code-block:: javascript
111
112
use local
113
- db.runCommand({ "compact" : "oplog.rs" } )
+ 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.
120
121
For clusters enforcing :ref:`authentication <authentication>`,
122
authenticate as a user with the :authaction:`compact` privilege
0 commit comments