[SERVER-58248] Fix error code when checking if FeatureCompatibilityVersion is majority-committed Created: 02/Jul/21  Updated: 29/Oct/23  Resolved: 02/Jul/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.0.26

Type: Bug Priority: Major - P3
Reporter: Matthew Russotto Assignee: Matthew Russotto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 85

 Description   

The way we wait for majority read concern on 4.0 returns ErrorCodes::ReadConcernMajorityNotEnabled if EMRC=false whereas on 4.2+ we get ErrorCodes::CommandNotSupported.



 Comments   
Comment by Githook User [ 02/Jul/21 ]

Author:

{'name': 'Matthew Russotto', 'email': 'matthew.russotto@mongodb.com', 'username': 'mtrussotto'}

Message: SERVER-58248 Fix error code when checking if FeatureCompatibilityVersion is majority-committed
Branch: v4.0
https://github.com/mongodb/mongo/commit/75a68c669b64b887dff1588216bfe5713f55f784

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