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

[mysql] Collect galera cluster node state #1577

Closed
wants to merge 1 commit into from
Closed

[mysql] Collect galera cluster node state #1577

wants to merge 1 commit into from

Conversation

jcastill
Copy link
Contributor

This patch collects the galera mysql node state
stored in the following file:

/var/lib/mysql/grastate.dat

It contains details of the galera node like version,
uuid, seqno, and current value in that node of
safe_to_bootstrap. The idea is that for a galera
mysql cluster, we'll get this status file from
each node in the sosreport, and we'll have a fuller
picture of the issue.

Signed-off-by: Jose Castillo jcastillo@redhat.com


Please place an 'X' inside each '[]' to confirm you adhere to our Contributor Guidelines

  • Is the commit message split over multiple lines and hard-wrapped at 72 characters?
  • Is the subject and message clear and concise?
  • Does the subject start with [plugin_name] if submitting a plugin patch or a [section_name] if part of the core sosreport code?
  • Does the commit contain a Signed-off-by: First Lastname email@example.com?

This patch collects the galera mysql node state
stored in the following file:

/var/lib/mysql/grastate.dat

It contains details of the galera node like version,
uuid, seqno, and current value in that node of
safe_to_bootstrap. The idea is that for a galera
mysql cluster, we'll get this status file from
each node in the sosreport, and we'll have a fuller
picture of the issue.

Signed-off-by: Jose Castillo <jcastillo@redhat.com>
Copy link
Member

@bmr-cymru bmr-cymru left a comment

Choose a reason for hiding this comment

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

So long as this "belongs" to MySQL, looks fine to me (which based on the path seems likely).

Are these a cluster type worth considering for sos-collector too?

@jcastill
Copy link
Contributor Author

So long as this "belongs" to MySQL, looks fine to me (which based on the path seems likely).

I was in doubt at the beginning between making a new plugin for galera or adding it to mysql, but the comment that precedes the line I added made me think it was better to stick to this plugin.

Are these a cluster type worth considering for sos-collector too?
I'll investigate about that. I haven't played with sos-collector yet so it may take me a bit of time to implement a patch.

@bmr-cymru bmr-cymru closed this in 080c2de Mar 21, 2019
@bmr-cymru bmr-cymru added this to the 3.7 milestone Mar 26, 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
Development

Successfully merging this pull request may close these issues.

None yet

2 participants