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

Evaluate and implement a method for checking the health of a CouchDB installation #4136

Open
big-r81 opened this issue Aug 3, 2022 · 1 comment

Comments

@big-r81
Copy link
Contributor

big-r81 commented Aug 3, 2022

Summary

Starting with this Slack discussion, I would like to capture the thoughts from the discussion and talk about ideas to enhance/implement such a "global health-check-system" (gHCS).

In this particular case, the user performed a cluster setup without using the cluster setup endpoint (API or wizard). A load balancer was then placed in front of it, which led to authentication problems since not every node had the same authentication information.

Desired Behaviour

After installation and configuring CouchDB, a kind of self-test should be carried out in order to discover the most frequently occurring "errors" or "misconfigurations".

Possible Solution

A health check could be triggered after a start, a configuration change, by a user, at recurring intervals or in other cases. The "Cookie-Monster-Check" method could be such a point at the gHCS, as well as verifying the authentication information for each node or the check for correct node names or whatever should be checked in order to get a system that is as "error-free configured" as possible.

@nickva
Copy link
Contributor

nickva commented Sep 1, 2022

We have https://github.com/apache/couchdb/tree/main/src/weatherreport which can diagnose some of the issues, maybe we can enhance to check for more things?

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

2 participants