server: bad certificate error spams the logs #122622
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
E-easy
Easy issue to tackle, requires little or no CockroachDB experience
E-quick-win
Likely to be a quick win for someone experienced.
good first issue
O-testcluster
Issues found or occurred on a test cluster, i.e. a long-running internal cluster
P-2
Issues/test failures with a fix SLA of 3 months
T-server-and-security
DB Server & Security
Projects
We recently recreated the drt-large cluster but accidentally forgot to stop the workload cluster which was feeding it. As a result, the workload cluster contained mismatched certificates which wouldn't allow a SQL connection. This is all fine.
What's bad is that when running the old workload setup against the new cluster, the logs get spammed with this message:
The log message gets written to the logs more than 500 times per second, and as a result, fills up a 10MB log file twice per minute (thus wrapping the logs very quickly). It would be better if we only printed this log message periodically as we're receiving these connection requests.
Jira issue: CRDB-38004
The text was updated successfully, but these errors were encountered: