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

Handle SIGTERM on CouchDB Cluster #4173

Open
fsalazarh opened this issue Sep 12, 2022 · 0 comments
Open

Handle SIGTERM on CouchDB Cluster #4173

fsalazarh opened this issue Sep 12, 2022 · 0 comments

Comments

@fsalazarh
Copy link

I am stress testing for a high availability environment of a Couch cluster on a Kubernetes cluster. The issue I am currently seeing is that when a Couch cluster node (kubernetes pod) is removed, in the time it is being removed and recreated, a series of 5xx errors are thrown for requests that are alive in that interval. Going a little deeper, I am trying to understand if Couch handles some mechanism for detecting the SIGTERM signal from the main process, in order to divert the live connections in the node that is going to be recreated to other nodes in the cluster and avoid receiving 5xx errors.

Is there a mechanism to handle SIGTERM signals in a Couch cluster? If not, it would be an interesting feature that would allow us to have more control to avoid losing connections at the time of node loss.

@fsalazarh fsalazarh changed the title Handle SIGTERM on CouchDB Cluster. Handle SIGTERM on CouchDB Cluster Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant