Details
Description
If a replica set is running without journaling, the writeConcernMajorityJournalDefault option in the replica set config should be set to false.
If this isn't done there will be multiple issues, including:
- w:majority writes will never complete
- two-phase collection drops will never actually drop the underlying WT tables.
This update should also be backported to v3.4 and v3.2.
https://github.com/mongodb/mongo/commit/918524be973eb056909f035df141b0dd5765ead1
https://docs.mongodb.com/manual/reference/program/mongod/index.html#cmdoption-nojournal
https://docs.mongodb.com/manual/tutorial/manage-journaling/index.html#disable-journaling
Attachments
Issue Links
- documents
-
SERVER-29649 Add startupWarning when a replset node is running with --nojournal but hasn't set writeConcernMajorityJournalDefault to false
-
- Closed
-
- is related to
-
DOCS-10925 --nojournal option is deprecated for WiredTiger nodes in a replica set.
-
- Closed
-