[DOCS-10928] Replica set nodes running with --nojournal should have writeConcernMajorityJournalDefault set to false. Created: 20/Oct/17  Updated: 13/Nov/23  Resolved: 01/Dec/17

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 3.6.0-rc0, 3.4.11, 3.2.18, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Steve Renaker (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-29649 Add startupWarning when a replset nod... Closed
Related
is related to DOCS-10925 --nojournal option is deprecated for ... Closed
Participants:
Days since reply: 6 years, 11 weeks ago
Epic Link: DOCS: 3.6 Server
Story Points: 0.3

 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



 Comments   
Comment by Githook User [ 29/Nov/17 ]

Author:

{'name': 'Steve Renaker', 'username': 'steveren', 'email': 'steve.renaker@mongodb.com'}

Message: DOCS-10928: --nojournal option warning for manual v3.2
Branch: v3.2
https://github.com/mongodb/docs/commit/b3e9f87c374dbfe691ae1d705f98da541d43abcb

Comment by Githook User [ 29/Nov/17 ]

Author:

{'name': 'Steve Renaker', 'username': 'steveren', 'email': 'steve.renaker@mongodb.com'}

Message: DOCS-10928: --nojournal option warning for manual v3.4
Branch: v3.4
https://github.com/mongodb/docs/commit/2bb4193ba66d63bbf1203536489f982f2e449a89

Comment by Shannon Bradshaw (Inactive) [ 29/Nov/17 ]

For 3.6, I think the recommendation should be something along the lines of "don't do this and here's why."

Comment by Steve Renaker (Inactive) [ 18/Nov/17 ]

We have a documented recommendation that users not run replica sets on WT with journaling turned off, per https://jira.mongodb.org/browse/DOCS-10925. The --nojournal option is deprecated on 3.6 for replica sets with WT.

We could modify that recommendation to something like "You really shouldn't do this, but if you absolutely must, then you should also set writeConcernMajorityJournalDefault to false." But it seems better to keep the recommendation to a simple "don't do it."

I'm proposing to add the information about writeConcernMajorityJournalDefault to the 3.4 and 3.2 docs but leave it out of the 3.6 docs.

Generated at Thu Feb 08 08:01:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.