[SERVER-21450] Modify MongoRunner to add enableMajorityReadConcern flag based on jsTestOptions Created: 13/Nov/15  Updated: 16/Nov/16  Resolved: 10/Dec/15

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 3.2.0-rc2
Fix Version/s: 3.2.1, 3.3.0

Type: Improvement Priority: Major - P3
Reporter: Michael Grundy Assignee: Jonathan Abrahams
Resolution: Done Votes: 0
Labels: test-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-22091 Run FSM suites with readConcern/write... Closed
Backwards Compatibility: Fully Compatible
Backport Completed:
Sprint: TIG D (12/11/15)
Participants:

 Description   

To do readConcern: majority testing we have to enable it with the --enableMajorityReadConcern flag. Some tests launch mongod through the MongoRunner interface (ShardingTest and ReplSetTest) and are blacklisted from the passthrough tests.

A method similar to how audit testing is enabled in SERVER-14191 should be used.



 Comments   
Comment by Githook User [ 10/Dec/15 ]

Author:

{u'username': u'hptabster', u'name': u'Jonathan Abrahams', u'email': u'jonathan@mongodb.com'}

Message: SERVER-21450 - enableMajorityReadConcern in MongoRunner to unblacklist aggregation_read_concern_majority overrride

(cherry picked from commit 56cd81631ae7bf9c17761b937ac24286d323c63f)
Branch: v3.2
https://github.com/mongodb/mongo/commit/3e32d7c455b31a84c99bd2f95836cc4a14e9176a

Comment by Githook User [ 10/Dec/15 ]

Author:

{u'username': u'hptabster', u'name': u'Jonathan Abrahams', u'email': u'jonathan@mongodb.com'}

Message: SERVER-21450 - enableMajorityReadConcern in MongoRunner to unblacklist aggregation_read_concern_majority overrride
Branch: master
https://github.com/mongodb/mongo/commit/56cd81631ae7bf9c17761b937ac24286d323c63f

Comment by David Storch [ 08/Dec/15 ]

jonathan.abrahams, I reverted the change and am re-opening this ticket. It looks like it un-blacklisted testSlave.js in aggregation_read_concern_majority_passthrough_WT. This caused the test to start failing:

https://evergreen.mongodb.com/task/mongodb_mongo_master_enterprise_rhel_62_64_bit_aggregation_read_concern_majority_passthrough_WT_9689f7e884c6c80f76c35f983e68a7fec8b27969_15_12_08_19_10_02

Comment by Githook User [ 08/Dec/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: Revert "SERVER-21450 - enableMajorityReadConcern in MongoRunner to unblacklist aggregation_read_concern_majority overrride"

This reverts commit 6de5b5be271ae84364b27322e8ad923bc6364a4a.
Branch: master
https://github.com/mongodb/mongo/commit/c3cdc0ed1b45c17c6dbc254eef576e87e7e802b5

Comment by Githook User [ 08/Dec/15 ]

Author:

{u'username': u'hptabster', u'name': u'Jonathan Abrahams', u'email': u'jonathan@mongodb.com'}

Message: SERVER-21450 - enableMajorityReadConcern in MongoRunner to unblacklist aggregation_read_concern_majority overrride
Branch: master
https://github.com/mongodb/mongo/commit/6de5b5be271ae84364b27322e8ad923bc6364a4a

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