[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: |
|
||||||||||||||||||||
| 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: (cherry picked from commit dd2b355042d8f64e2a10d7b9986265ba563dddd8) |
| Comment by Githook User [ 14/Nov/18 ] |
|
Author: {'name': 'William Schultz', 'email': 'william.schultz@mongodb.com', 'username': 'will62794'}Message: (cherry picked from commit dd2b355042d8f64e2a10d7b9986265ba563dddd8) |
| Comment by Githook User [ 14/Nov/18 ] |
|
Author: {'name': 'William Schultz', 'email': 'william.schultz@mongodb.com', 'username': 'will62794'}Message: |