Sergey Kacheev b922a28622 netutil: add url comparison without resolver to URLStringsEqual
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 #7798

Fixes #7798
2021-07-19 01:31:21 +07:00
..
2018-07-21 15:49:58 -07:00
2015-11-17 20:54:10 -08:00
2018-02-28 17:27:40 -08:00
2020-02-12 11:15:41 -08:00
2018-04-30 15:32:16 -07:00
2018-04-08 14:18:09 -07:00
2021-06-22 12:25:39 +02:00
2021-06-03 16:07:01 +02:00
2014-10-26 16:28:48 -07:00

pkg/ is a collection of utility packages used by etcd without being specific to etcd itself. A package belongs here only if it could possibly be moved out into its own repository in the future.