[SERVER-32791] Use causal consistency in change_streams_secondary_reads passthrough Created: 19/Jan/18  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Aggregation Framework, Testing Infrastructure
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Charlie Swanson Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 0
Labels: open_todo_in_code
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-32774 Ensure change_streams_secondary_reads... Closed
Assigned Teams:
Query Execution
Participants:
Linked BF Score: 3

 Description   

The test suite mostly gets away with not using causal consistency because most assertions are along the lines of

assert.soon(() => changeStream.hasNext());

which are pretty tolerant of visibility rules. However, we've seen a couple failures in this suite that would be addressed by using causal consistency, and it would make the suite more robust in the future, making it easier to add new tests to the jstests/change_streams directory.


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