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

Enable galeramon to track more status's #192

Merged
merged 2 commits into from Apr 25, 2019

Conversation

woopstar
Copy link
Contributor

@woopstar woopstar commented Mar 27, 2019

The current galeramon currently only tracks the local state to check if a node is ready to serve or not.

This PR will enable galeramon to track the following status's too:

  • wsrep_desync - node must not be in desync mode. See more here.
  • wsrep_ready - node must be ready. See more here.
  • wsrep_sst_donor_rejects_queries - node must not reject queries while doing SST transfers. See more here.
  • wsrep_reject_queries - node must not reject queries. See more here.

I am contributing the new code of the whole pull request, including one or
several files that are either new files or modified ones, under the BSD-new
license.

Copy link
Contributor

@markus456 markus456 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@markus456
Copy link
Contributor

This should also solve MXS-1469: https://jira.mariadb.org/browse/MXS-1469

wsrep_ready was check for ON/YES/1/true, but it has to be checked for OFF/NO/0/false as we are removing nodes, not joining.
@markus456 markus456 merged commit 7a5f11b into mariadb-corporation:2.3 Apr 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants