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

proxy: stop listening only on etcd error #80

Merged

Conversation

sgotti
Copy link
Member

@sgotti sgotti commented Oct 29, 2015

It makes more sense to stop listening only on communication problems with etcd
since it's the unique case when the proxy doesn't know what it should do and
shouldn't be balanced.

Instead having an empty proxyConf and closing the listening socket will exclude
the proxy from a balancer without any reason since its state is good.

@sgotti sgotti force-pushed the proxy_stop_listening_only_on_etcd_error branch from ecccfa5 to 4b167f5 Compare October 29, 2015 10:07
It makes more sense to stop listening only on communication problems with etcd
since it's the unique case when the proxy doesn't know what it should do and
shouldn't be balanced.

Instead having an empty proxyConf and closing the listening socket will exclude
the proxy from a balancer without any reason since its state is good.
@sgotti sgotti force-pushed the proxy_stop_listening_only_on_etcd_error branch from 4b167f5 to 0d6b285 Compare October 29, 2015 10:21
@sgotti sgotti merged commit 0d6b285 into sorintlab:master Oct 29, 2015
sgotti added a commit that referenced this pull request Oct 29, 2015
…error

proxy: stop listening only on etcd error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant