Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
3.2.6
-
None
-
ALL
-
Description
Hello,
I cannot reproduce the behavior described on this section of the manual:
https://docs.mongodb.com/v3.2/core/journaling/#journaling-journal-files
"A clean shutdown removes all the files in the journal directory. A dirty shutdown (crash) leaves files in the journal directory; these are used to automatically recover the database to a consistent state when the mongod process is restarted."
In 'Steps to Reproduce' there is a transcript of a session where this does not happen. I think the docs may be wrong, as this other section implies db.shutdownServer is a clean way to shut down mongod: https://docs.mongodb.com/v3.2/reference/method/db.shutdownServer/
"Shuts down the current mongod or mongos process cleanly and safely."
Attachments
Issue Links
- is related to
-
DOCS-7847 Clarify WiredTiger journal files are not deleted on clean shutdown
-
- Closed
-