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

Handle new MariaDB SLAVE MONITOR grant #61382

Merged
merged 1 commit into from
Jan 10, 2022

Conversation

sblaisot
Copy link
Contributor

What does this PR do?

Handle new MariaDB SLAVE MONITOR grant

What issues does this PR fix or reference?

Fixes: #61331

Previous Behavior

State mysql_grants.present fail when setting MariaDB 10.5+ SLAVE MONITOR grant

New Behavior

SLAVE MONITOR grant is applied

Merge requirements satisfied?

Commits signed with GPG?

No

@sblaisot sblaisot requested a review from a team as a code owner December 20, 2021 08:25
@sblaisot sblaisot requested review from waynew and removed request for a team December 20, 2021 08:25
@sblaisot sblaisot force-pushed the update_mysql_grants branch from 2d88c59 to 72ffb95 Compare December 26, 2021 11:46
@sblaisot
Copy link
Contributor Author

sblaisot commented Jan 4, 2022

@waynew any news on this PR?

Copy link
Contributor

@waynew waynew left a comment

Choose a reason for hiding this comment

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

Confirmed that SLAVE MONITOR is an available grant for mariadb.

Also checked the code and it looks like for other privs it's just a pre-validation, and the database itself actually has to support the grant.

👍 Looks good.

@waynew waynew added this to the Phosphorus v3005.0 milestone Jan 10, 2022
@garethgreenaway garethgreenaway merged commit 1f36924 into saltstack:master Jan 10, 2022
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.

[BUG] Unable to apply REPLICA MONITOR grant with mysql_grants state module
4 participants