[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: |
|
||||||||
| Participants: | |||||||||
| Days since reply: | 2 years, 22 weeks, 1 day ago | ||||||||
| Epic Link: | DOCSP-15042 | ||||||||
| Story Points: | 3 | ||||||||
| Description |
DescriptionDownstream 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 TicketThe 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 changesImpact to Other DocsMVP (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: |
| Comment by Githook User [ 07/Sep/21 ] |
|
Author: {'name': 'ian fogelman', 'email': 'ian.fogelman@mongodb.com', 'username': 'ianf-mongodb'}Message: |