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

Automatically switch endpoint when one endpoint is not available #8326

Closed
HardySimpson opened this issue Jul 28, 2017 · 1 comment
Closed
Milestone

Comments

@HardySimpson
Copy link
Contributor

HardySimpson commented Jul 28, 2017

we found when 1 of 3 instance of etcd is network partition witch other 2,

still the client can access this instance, and grpc connection is keep alive, then all request will failed and report like this

#kubectl get node --all-namespaces
Error from server: rpc error: code = 14 desc = etcdserver: request time out

out etcd version is 3.1.9

this error is not happen is etcd v2

HardySimpson added a commit to HardySimpson/etcd that referenced this issue Jul 28, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
@HardySimpson
Copy link
Contributor Author

put a PR on #8327

It is a design a little bit different with grpc health-check way, which have 2 advantage

  • health-check success do not mean normal request will success, they are different
  • no extra request cost, light-weight

the switch only happens at request fail,

and switch at most one time in 30 seconds, to avoid too frequently switch

HardySimpson added a commit to HardySimpson/etcd that referenced this issue Jul 29, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Jul 29, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Jul 29, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Jul 29, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Jul 29, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Jul 31, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Jul 31, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Jul 31, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Jul 31, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Jul 31, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Jul 31, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
@heyitsanthony heyitsanthony added this to the v3.3.0 milestone Aug 1, 2017
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 2, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 3, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 3, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 3, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 3, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 3, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 3, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 3, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 3, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 3, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 3, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 3, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 3, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 3, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 3, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 4, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 4, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 4, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 8, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 18, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 24, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 24, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 25, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 25, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 25, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 25, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 25, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
HardySimpson added a commit to HardySimpson/etcd that referenced this issue Aug 25, 2017
when a endpoint is unavailable, switch it in retry

fix: etcd-io#8326
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants