Skip to content

etcdserver: Fix PeerURL validation #12815

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

Merged
merged 1 commit into from
Mar 30, 2021

Conversation

dbavatar
Copy link
Contributor

In case of URLs that are synonyms, the current lexicographic sorting
and compare of the URLs fails with frustrating errors. Make sure to do
a full comparison between every set of PeerURLs before failing.

Fixes #11013

This was originally submitted in PR #11155 and approved, but somehow force pushes were done to this branch (which breaks git!), and it was never properly merged into 3.4 release. Since upgrading to 3.4 stable we've seen this problem reappear.

In case of URLs that are synonyms, the current lexicographic sorting
and compare of the URLs fails with frustrating errors. Make sure to do
a full comparison between every set of PeerURLs before failing.

Fixes etcd-io#11013
@ptabor ptabor merged commit 30799c9 into etcd-io:release-3.4 Mar 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants