-
Notifications
You must be signed in to change notification settings - Fork 448
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
Stolon proxy breakes connection even when --stop-listening=false
#859
Comments
@wildermesser This is the right behavior to maintain data consistency. If the proxy cannot know the cluster state for a specified interval it'll close connections (see https://github.com/sorintlab/stolon/blob/master/doc/faq.md#why-clients-should-use-the-stolon-proxy). The right solutions are:
With or without |
@sgotti thank you for explaining! |
@sgotti which setting is that? Is it Also, what happens after |
Ah, it's probably So only the other recovery question remains. |
I think I found the answer: "It should recover, but does not, due to this bug": #888 (comment) PR to work around the issue: #907 |
What happened:
Recently I reproduced the issue #674. I am using slow etcd, so sometimes requests to kubernetes-apiserver exceed the limit of 10s. At this moment stolon proxy breaks connection from clients as expected. In the logs I saw
check timeout timer fired; Stopping listening
.To avoid this, I add
--stop-listening=false
to stolon-proxy args. Now in case of slow requests, I am getting:Without message like
Stopping listening
. But! At this moment my python application still become connection reset:What you expected to happen:
When
--stop-listening=false
passed as arg to stolon-proxy, connections are still alive despite store backend issues.Environment:
The text was updated successfully, but these errors were encountered: