From 704d217eca153c076c6f932d14b6b226a5c626ff Mon Sep 17 00:00:00 2001 From: Joseph Dougherty Date: Tue, 8 Dec 2020 11:20:09 -0500 Subject: [PATCH] DOCSP-13116 oplog space reclamation might require restart --- source/tutorial/change-oplog-size.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/tutorial/change-oplog-size.txt b/source/tutorial/change-oplog-size.txt index a0e60873ced..ba52b6d9301 100644 --- a/source/tutorial/change-oplog-size.txt +++ b/source/tutorial/change-oplog-size.txt @@ -110,7 +110,13 @@ The following operation runs the ``compact`` command against the .. code-block:: javascript use local - db.runCommand({ "compact" : "oplog.rs" } ) + db.runCommand({ "compact" : "oplog.rs" }) + +If the disk space allocated to the original oplog size is not +reclaimed, restart :binary:`~bin.mongod` and run the above commands +again. Restarting :binary:`~bin.mongod` runs recalculations in +:doc:`WiredTiger ` that might allow ``compact`` to +release more space to the OS. For clusters enforcing :ref:`authentication `, authenticate as a user with the :authaction:`compact` privilege