-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Prioritize electionId over setVersion on 6.0+ servers #1010
Conversation
driver-core/src/main/com/mongodb/internal/connection/AbstractMultiServerCluster.java
Outdated
Show resolved
Hide resolved
driver-core/src/main/com/mongodb/internal/connection/AbstractMultiServerCluster.java
Outdated
Show resolved
Hide resolved
driver-core/src/main/com/mongodb/internal/connection/AbstractMultiServerCluster.java
Outdated
Show resolved
Hide resolved
driver-core/src/main/com/mongodb/internal/connection/AbstractMultiServerCluster.java
Outdated
Show resolved
Hide resolved
driver-core/src/main/com/mongodb/internal/connection/AbstractMultiServerCluster.java
Outdated
Show resolved
Hide resolved
driver-core/src/main/com/mongodb/internal/connection/AbstractMultiServerCluster.java
Outdated
Show resolved
Hide resolved
@stIncMale ready for re-review |
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.
The new code is so much better than the version I reviewed the first time! 👏 I still have a couple of readability concerns, which may be caused by my stupidity / lack of knowledge, but if the proposed code is as readable to you as the current code, it'd be great to apply the proposed changes, because to me it drastically affects the readability.
driver-core/src/main/com/mongodb/internal/connection/AbstractMultiServerCluster.java
Outdated
Show resolved
Hide resolved
driver-core/src/main/com/mongodb/internal/connection/AbstractMultiServerCluster.java
Outdated
Show resolved
Hide resolved
driver-core/src/main/com/mongodb/internal/connection/AbstractMultiServerCluster.java
Outdated
Show resolved
Hide resolved
@stIncMale ready for review |
JAVA-4707