[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: |
|
||||
| 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: |