cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
29.98k stars 3.79k forks source link

web interface polls health endpoint in a loop even before successful auth #122801

Open b0n0r opened 5 months ago

b0n0r commented 5 months ago

Describe the problem

After fresh install the web interface polls health endpoint in a loop even before auth, every 2 seconds.

To Reproduce

  1. Set up CockroachDB cluster or a single-node
  2. Open the web interface (default port 8080)
  3. See the behaviour play out

Expected behaviour

Polling for the endpoint every 2 seconds might cause unnecessary filling of logs, for instance in an environment where the nodes are behind a balancer etc.

The endpoint should be polled only after successful login into the interface.

Environment:

Additional context No

Jira issue: CRDB-38078

blathers-crl[bot] commented 5 months ago

Hello, I am Blathers. I am here to help you get the issue triaged.

Hoot - a bug! Though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here.

I was unable to automatically find someone to ping.

If we have not gotten back to your issue within a few business days, you can try the following:

:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.