[DOCS-13838] Investigate changes in SERVER-49392: Make storage engine init check that enableMajorityReadConcern is compatible with supportsReadConcernMajority Created: 17/Aug/20  Updated: 29/Oct/23  Resolved: 07/Sep/21

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Ian Fogelman
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-49392 Make storage engine init check that e... Closed
Participants:
Days since reply: 2 years, 22 weeks, 1 day ago
Epic Link: DOCSP-15042
Story Points: 3

 Description   

Description

Downstream Change Summary

Storage engines that do not support majority read concern but are started with the --enableMajorityReadConcern option will fail to startup with an error message.

See this test for the error message: https://github.com/mongodb/mongo/blob/56b83070a83b2bf134a54063b27c2b48b22dd852/jstests/noPassthrough/supports_read_concern_majority.js

Description of Linked Ticket

The enableMajorityReadConcern server parameter defaults to true, even when using a storage engine where supportsReadConcernMajority() is false. Ideally it should default to false in such cases, however, implementing this is probably more effort than it's worth (it only affects test storage engines). Instead, storage engine creation/init should check if supportsReadConcernMajority is false and enableMajorityReadConcern is true, and handle it accordingly: either force enableMajorityReadConcern to false (if it isn't too late to do that), or else abort startup with an error message (saying that this combination isn't valid and enableMajorityReadConcern must be disabled to run with this storage engine).

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 07/Sep/21 ]

Author:

{'name': 'ian fogelman', 'email': 'ian.fogelman@mongodb.com', 'username': 'ianf-mongodb'}

Message: DOCS-13838 Add error message notice to enableReadConcern
Branch: master
https://github.com/mongodb/docs/commit/611f93e590b8c46fdd1164446c5dbde127b0658b

Comment by Githook User [ 07/Sep/21 ]

Author:

{'name': 'ian fogelman', 'email': 'ian.fogelman@mongodb.com', 'username': 'ianf-mongodb'}

Message: DOCS-13838 Add error message notice to enableReadConcern
Branch: v5.0
https://github.com/mongodb/docs/commit/240f4a29d32245307ebca481713d70ce1d05c39a

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