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

Fix cowHostList can't have hosts with same ConnectAddress #1758

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

dkropachev
Copy link

@dkropachev dkropachev commented May 31, 2024

cowHostList uses HostInfo.Equal for host uniqueness, which relies on ConnectAddress.Equal, which does not allow to have different hosts with same ConnectAddress.

It breaks cases like accessing cluster via tcp or ssl proxy

Closes #1757

cowHostList uses HostInfo.Equal to confirm host uniqueness,
which relies on `ConnectAddress.Equal`, which does not allow to have
different hosts with same `ConnectAddress`
@dkropachev dkropachev marked this pull request as ready for review May 31, 2024 02:22
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.

cowHostList uses outdated logic for host uniqueness
1 participant