-
Notifications
You must be signed in to change notification settings - Fork 245
DRIVERS-3344 - Add support for server selection's deprioritized servers to all topologies #1865
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
base: master
Are you sure you want to change the base?
Conversation
…rs to all topologies
blink1073
left a comment
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.
Changes LGTM from a backpressure standpoint
.../server-selection/tests/server_selection/ReplicaSetWithPrimary/read/DeprioritizedPrimary.yml
Show resolved
Hide resolved
...erver-selection/tests/server_selection/ReplicaSetWithPrimary/read/DeprioritizedSecondary.yml
Show resolved
Hide resolved
...ction/tests/server_selection/ReplicaSetWithPrimary/write/DeprioritizedSecondaryPreferred.yml
Show resolved
Hide resolved
Jibola
left a comment
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.
LGTM
eramongodb
left a comment
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.
Minor suggestions remaining; otherwise, LGTM.
sleepyStick
left a comment
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.
LGTM!
love the "Why does server deprioritization use only server addresses and not ServerDescription objects?" section too!
isabelatkinson
left a comment
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.
retryability changes LGTM
Update the server selection process to require server deprioritization on retries across all topologies. The summary of these changes are:
clusters).