[SERVER-37935] Remove read concern "majority" overrides for change streams test suites Created: 06/Nov/18  Updated: 29/Oct/23  Resolved: 14/Nov/18

Status: Closed
Project: Core Server
Component/s: Querying, Replication
Affects Version/s: None
Fix Version/s: 3.6.10, 4.0.5, 4.1.6

Type: Improvement Priority: Major - P3
Reporter: William Schultz (Inactive) Assignee: William Schultz (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-37560 Allow change streams to work with spe... Closed
Related
related to SERVER-38144 Remove write concern "majority" overr... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0, v3.6
Sprint: Repl 2018-11-19
Participants:

 Description   

The change streams test suites all utilize the set_read_and_write_concerns.js override as a means to override read/write concern to "majority" on all commands run in their tests. This may have been added initially since change streams originally required "majority" read concern. They no longer do, and so omitting read concern on a change stream query is acceptable. The fact that all commands, not just change stream commands, get sent with read concern majority poses issues for running change stream suites with enableMajorityReadConcern:false, since "majority" reads are not supported for normal, non change-stream commands.



 Comments   
Comment by Githook User [ 14/Nov/18 ]

Author:

{'name': 'William Schultz', 'email': 'william.schultz@mongodb.com', 'username': 'will62794'}

Message: SERVER-37935 Remove read concern 'majority' overrides from all change streams test suites

(cherry picked from commit dd2b355042d8f64e2a10d7b9986265ba563dddd8)
Branch: v3.6
https://github.com/mongodb/mongo/commit/28e95dafe81c4c5d4780aaea7ef44dd69679290f

Comment by Githook User [ 14/Nov/18 ]

Author:

{'name': 'William Schultz', 'email': 'william.schultz@mongodb.com', 'username': 'will62794'}

Message: SERVER-37935 Remove read concern 'majority' overrides from all change streams test suites

(cherry picked from commit dd2b355042d8f64e2a10d7b9986265ba563dddd8)
Branch: v4.0
https://github.com/mongodb/mongo/commit/543ea74d751987485699720ba8286838a3b9e8cb

Comment by Githook User [ 14/Nov/18 ]

Author:

{'name': 'William Schultz', 'email': 'william.schultz@mongodb.com', 'username': 'will62794'}

Message: SERVER-37935 Remove read concern 'majority' overrides from all change streams test suites
Branch: master
https://github.com/mongodb/mongo/commit/dd2b355042d8f64e2a10d7b9986265ba563dddd8

Generated at Thu Feb 08 04:47:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.