Skip to content

Conversation

jyemin
Copy link
Collaborator

@jyemin jyemin commented Oct 17, 2023

  • ServerAddress#getSocketAddress
  • ServerAddress#getSocketAddresses
  • UnixServerAddress#getSocketAddress
  • UnixServerAddress#getUnixSocketAddress

JAVA-4937

Design Notes:

  • Delete ServerAddressWithResolver and instead push the InetAddressResolver down to the Stream implementations
  • Add internal DefaultInetAddressResolver to replicate the removed ServerAddress method and avoid having to make the resolver nullable everywhere

* ServerAddress#getSocketAddress
* ServerAddress#getSocketAddresses
* UnixServerAddress#getSocketAddress
* UnixServerAddress#getUnixSocketAddress

JAVA-4937
@jyemin jyemin self-assigned this Oct 17, 2023
@jyemin jyemin requested a review from stIncMale October 17, 2023 23:32
jyemin and others added 2 commits October 20, 2023 10:33
…ectionPoolAsyncTest.java

Co-authored-by: Valentin Kovalenko <valentin.male.kovalenko@gmail.com>
Copy link
Collaborator Author

@jyemin jyemin left a comment

Choose a reason for hiding this comment

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

@jyemin jyemin requested a review from stIncMale October 20, 2023 19:36
Copy link
Member

@stIncMale stIncMale left a comment

Choose a reason for hiding this comment

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

Approving, but the patch you linked has failed.

@jyemin
Copy link
Collaborator Author

jyemin commented Oct 21, 2023

@jyemin jyemin merged commit a42f1c8 into mongodb:5.x Oct 21, 2023
@jyemin jyemin deleted the j4937 branch October 21, 2023 00:38
jyemin added a commit that referenced this pull request Dec 4, 2023
* ServerAddress#getSocketAddress
* ServerAddress#getSocketAddresses
* UnixServerAddress#getSocketAddress
* UnixServerAddress#getUnixSocketAddress

JAVA-4937
jyemin added a commit that referenced this pull request Dec 5, 2023
* ServerAddress#getSocketAddress
* ServerAddress#getSocketAddresses
* UnixServerAddress#getSocketAddress
* UnixServerAddress#getUnixSocketAddress

JAVA-4937
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