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 85c6e84 commit 040f783Copy full SHA for 040f783
source/tutorial/change-oplog-size.txt
@@ -122,7 +122,13 @@ The following operation runs the ``compact`` command against the
122
.. code-block:: javascript
123
124
use local
125
- db.runCommand({ "compact" : "oplog.rs" } )
+ 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.
132
133
For clusters enforcing :ref:`authentication <authentication>`,
134
authenticate as a user with the :authaction:`compact` privilege
0 commit comments