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

Cherry pick of #13224 #14577

Merged
merged 3 commits into from
Oct 12, 2022
Merged

Cherry pick of #13224 #14577

merged 3 commits into from
Oct 12, 2022

Conversation

pchan
Copy link
Contributor

@pchan pchan commented Oct 12, 2022

Cherry pick of #13224 on release-3.4.

#13224: netutil: add url comparison without resolver to

/cc @ahrtr

sakateka and others added 3 commits October 12, 2022 15:07
If one of the nodes in the cluster has lost a dns record,
restarting the second node will break it.
This PR makes an attempt to add a comparison without using a resolver,
which allows to protect cluster from dns errors and does not break
the current logic of comparing urls in the URLStringsEqual function.
You can read more in the issue etcd-io#7798

Fixes etcd-io#7798

Signed-off-by: Prasad Chandrasekaran <prasadc@vmware.com>
Co-authored-by: Lili Cosic <cosiclili@gmail.com>
Signed-off-by: Prasad Chandrasekaran <prasadc@vmware.com>
Signed-off-by: Prasad Chandrasekaran <prasadc@vmware.com>
Copy link
Member

@ahrtr ahrtr left a comment

Choose a reason for hiding this comment

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

LGTM

Thank you @pchan

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.

3 participants