-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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-3521): update session support checks #3151
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some open Qs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Q about the selection
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with Bailey's cleanup suggestions but otherwise LGTM
Co-authored-by: Bailey Pearson <[email protected]>
Co-authored-by: Bailey Pearson <[email protected]>
Co-authored-by: Bailey Pearson <[email protected]>
Description
With the increase of the minimum wire version, server versions below 3.6 are no longer supported and thus the need to check if a topology supports sessions is no longer needed. This check also caused session mismatch errors in rare cases when a topology went unknown before a cursor's initial
find
command executed and came back before the subsequentgetMore
command was executed.What is changing?
Removes all
hasSessionSupport
checks and tests that are no longer relevant.Is there new documentation needed for these changes?
No
What is the motivation for this change?
NODE-3521 / NODE-4009
Double check the following
npm run check:lint
script<type>(NODE-xxxx)<!>: <description>