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 f9be5a8 commit e24baabCopy full SHA for e24baab
source/tutorial/change-oplog-size.txt
@@ -119,7 +119,13 @@ The following operation runs the ``compact`` command against the
119
.. code-block:: javascript
120
121
use local
122
- db.runCommand({ "compact" : "oplog.rs" } )
+ 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.
129
130
For clusters enforcing :ref:`authentication <authentication>`,
131
authenticate as a user with the :authaction:`compact` privilege
0 commit comments