Details
-
Improvement
-
Resolution: Won't Do
-
Major - P3
-
None
-
None
Description
Since this is a significant difference in behavior between MMAPv1 and WiredTiger, it may be worth highlighting in the documentation: https://docs.mongodb.com/v3.2/core/journaling/#journaling-and-the-wiredtiger-storage-engine
When journaling with WiredTiger, there should always be at least one log file, and these log files will remain after a clean shutdown. After restarting, MongoDB will enter a recovery stage and will use any log records it needs.
The log files are still required in the case of a clean shutdown since MongoDB is not initially aware of whether it suffered an unclean shutdown. After recovery, the archive will run and remove all non-essential files.
Attachments
Issue Links
- related to
-
SERVER-24106 Journal files not removed after clean shutdown
-
- Closed
-