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

Add extra logging when no servers are available in hostgroup #3806

Merged
merged 1 commit into from
Mar 15, 2022

Conversation

JavierJF
Copy link
Collaborator

@JavierJF JavierJF commented Mar 2, 2022

Currently when a hostgroup has no servers available due, for example, all being SHUNNED and ProxySQL tries to get a connection for that hostgroup the following message is logged:

  • "[ERROR] Hostgroup X has no servers available! Checking servers shunned for more than N seconds"

Yet if the hostgroup contains no servers at all, for example all servers being OFFLINE_HARD. No message was logged, now the following message will be logged.

  • "[ERROR] Hostgroup X has no servers available!"

@pondix
Copy link
Contributor

pondix commented Mar 10, 2022

Automated message: PR pending admin approval for build testing

@renecannao renecannao merged commit a1ded63 into v2.x Mar 15, 2022
@renecannao renecannao deleted the v2.x-no_servers_in_hg_log branch April 30, 2022 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants