-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 3.2.6
-
Component/s: Storage
-
None
-
ALL
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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."