Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(NODE-3393): snapshot time not applied if distinct executed first #2908

Merged
merged 5 commits into from Jul 16, 2021

Conversation

dariakp
Copy link
Contributor

@dariakp dariakp commented Jul 15, 2021

Description

NODE-3393, NODE-3394

This PR started out as a fix to our spec runner which was selectively passing in sessions instead of applying them to all operations. Fixing the last test revealed a bug in the original snapshot session reads implementation: the atClusterTime from the server response was not applied to the session if the first operation executed against it was distinct. This PR includes the fix for that issue.

@dariakp dariakp added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Jul 15, 2021
@dariakp dariakp requested a review from nbbeeken July 15, 2021 18:04
Copy link
Contributor

@nbbeeken nbbeeken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nbbeeken nbbeeken added Team Review Needs review from team and removed Primary Review In Review with primary reviewer, not yet ready for team's eyes labels Jul 15, 2021
@nbbeeken nbbeeken requested a review from emadum July 15, 2021 19:11
Copy link
Contributor

@emadum emadum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@dariakp dariakp marked this pull request as ready for review July 16, 2021 14:02
@nbbeeken nbbeeken merged commit 7aa3008 into 4.0 Jul 16, 2021
@nbbeeken nbbeeken deleted the NODE-3393/snapshot-reads-spec-test-runner-updates branch July 16, 2021 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team Review Needs review from team
Projects
None yet
3 participants