Fix issues with defragment and alarm clear on etcd startup
* Use clientv3.NewCtxClient instead of New to avoid automatic retry of all RPCs
* Only timeout status requests; allow defrag and alarm clear requests to run to completion.
* Only clear alarms on the local cluster member, not ALL cluster members
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 095e34d8)
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com>
Showing
This diff is collapsed.
Click to expand it.
pkg/etcd/resolver.go
0 → 100644
Please
register
or
sign in
to comment