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 #182

Closed

Conversation

dkropachev
Copy link
Collaborator

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

Which leads to apache#1757.
Closes apache#1757

@dkropachev dkropachev force-pushed the fix-hostinto-uniqueness-logic branch from fc7d78f to 6c719e4 Compare May 30, 2024 18:45
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 force-pushed the fix-hostinto-uniqueness-logic branch from 6c719e4 to cc58718 Compare May 30, 2024 18:54
@dkropachev
Copy link
Collaborator Author

Should go to https://github.com/gocql/gocql

@dkropachev dkropachev closed this May 30, 2024
@dkropachev dkropachev deleted the fix-hostinto-uniqueness-logic branch May 31, 2024 02:02
@mykaul
Copy link

mykaul commented Jun 2, 2024

Should go to https://github.com/gocql/gocql

Could go - but if that repo is not responsive ( https://github.com/gocql/gocql/graphs/commit-activity ), we should fix it here.

@roydahan
Copy link
Collaborator

roydahan commented Jun 2, 2024

@dkropachev please reopen it.
The upstream repo is not active (last commit was 10 months ago).
You can leave the PR open there as well, but we will probably review and merge here anyway.

@dkropachev dkropachev restored the fix-hostinto-uniqueness-logic branch June 2, 2024 13:55
@dkropachev
Copy link
Collaborator Author

@roydahan , @mykaul , done up here

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
3 participants