[SERVER-38055] Mongod servers started through the shell do not respect TestData.enableMajorityReadConcern Created: 09/Nov/18 Updated: 29/Oct/23 Resolved: 14/Nov/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication, Testing Infrastructure |
| Affects Version/s: | 3.6.8, 4.0.4, 4.1.5 |
| Fix Version/s: | 3.6.10, 4.0.5, 4.1.6 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Tess Avitabile (Inactive) | Assignee: | Tess Avitabile (Inactive) |
| 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 | ||||||||
| Backport Requested: |
v4.0, v3.6
|
||||||||
| Sprint: | Repl 2018-11-19 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 115 | ||||||||
| Description |
|
We only add enableMajorityReadConcern to the command line arguments if it is set to true in the TestData. This means that mongods started test fixtures do not respect TestData.enableMajorityReadConcern="false". Passthroughs are unaffected. Instead of checking whether jsTest.options().enableMajorityReadConcern is true, we should check that it is not equal to undefined. We should also add a test to ensure that if we set TestData.enableMajorityReadConcern, then the server reports that it does not support committed reads. |
| Comments |
| Comment by Githook User [ 17/Nov/18 ] |
|
Author: {'name': 'Tess Avitabile', 'email': 'tess.avitabile@mongodb.com', 'username': 'tessavitabile'}Message: |
| Comment by Githook User [ 16/Nov/18 ] |
|
Author: {'name': 'Tess Avitabile', 'email': 'tess.avitabile@mongodb.com', 'username': 'tessavitabile'}Message: (cherry picked from commit a058fc68c52fcc86a4c612c0093a566ea05e853d) |
| Comment by Githook User [ 16/Nov/18 ] |
|
Author: {'name': 'Tess Avitabile', 'email': 'tess.avitabile@mongodb.com', 'username': 'tessavitabile'}Message: (cherry picked from commit a058fc68c52fcc86a4c612c0093a566ea05e853d) |
| Comment by Githook User [ 14/Nov/18 ] |
|
Author: {'name': 'Tess Avitabile', 'email': 'tess.avitabile@mongodb.com', 'username': 'tessavitabile'}Message: |
| Comment by Githook User [ 14/Nov/18 ] |
|
Author: {'name': 'Tess Avitabile', 'email': 'tess.avitabile@mongodb.com', 'username': 'tessavitabile'}Message: |