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

Refactor transaction server pinning #1211

Merged
merged 4 commits into from
Oct 4, 2023
Merged

Refactor transaction server pinning #1211

merged 4 commits into from
Oct 4, 2023

Conversation

jyemin
Copy link
Contributor

@jyemin jyemin commented Oct 2, 2023

  • Determine whether TransactionContext is required based on ConnectionSource's ServerDescription
    instead of the ClusterDescription obtained from Cluster#getDescription.
  • After the above is done, Cluster#getDescription is only used by tests, so it can be removed.

JAVA-5186

jyemin added 2 commits October 1, 2023 19:51
Determine whether TransactionContext is required based on ConnectionSource's ServerDescription
instead of the ClusterDescription.

JAVA-5186
After the previous refactoring, this method is only used by tests,
so it can be removed.

JAVA-5186
@jyemin jyemin requested a review from stIncMale October 2, 2023 15:24
@jyemin jyemin requested a review from stIncMale October 3, 2023 22:51
@jyemin jyemin merged commit 92c90c6 into mongodb:master Oct 4, 2023
@jyemin jyemin deleted the j5186 branch October 4, 2023 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants