-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Fix MariaDB InnoDB pending flush metric parsing #13658
Fix MariaDB InnoDB pending flush metric parsing #13658
Conversation
Hey @Jack97 . Thanks for the contribution 🙇 . This change looks good but may I ask how you've tested the fix? It looks like there's no official docker image yet for MariaDB 11.0.0. Ideally, we'd be able to add the version so the tests run in CI for that version. |
Hi @alexandre-normand, no worries at all. I tested the change with a crude python script that modified the I looked at adding these expectations as unit tests, but the existing tests are fairly sparse for this area of the codebase so I decided against. We're currently running 10.9.4, but the change has been present since since 10.8. So it should be possible to test an affected version - any preference on which version(s) should be added? 10.8, 10.9, and 10.10 are all candidates. |
Ah, thanks for clarifying, @Jack97 . We probably don't want an explosion of versions so having the latest official release (10.10) is probably what makes the most sense. |
3f6282f
to
c6f8e4e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally we'd have unit tests for this, but if database monitoring folks are ok without, so are we ;)
* Fix MariaDB InnoDB pending flush metric parsing * Add MariaDB 10.10 to test version matrix --------- Co-authored-by: Jack Robertson <[email protected]>
What does this PR do?
This PR fixes the parsing of InnoDB pending flush metrics for modern MariaDB hosts (10.8+).
Motivation
We have been observing the following error when metrics are collected from our MariaDB host:
The issue is within the output of
SHOW /*!50000 ENGINE*/ INNODB STATUS
, the section containing the metrics for pending flushes is subtly different for newer versions of MariaDB than it is for MySQL.Additional Notes
N/A
Review checklist (to be filled by reviewers)
changelog/
andintegration/
labels attachedqa/skip-qa
label.