Skip to content

Handle new MariaDB SLAVE MONITOR grant#61382

Merged
garethgreenaway merged 1 commit into
saltstack:masterfrom
sblaisot:update_mysql_grants
Jan 10, 2022
Merged

Handle new MariaDB SLAVE MONITOR grant#61382
garethgreenaway merged 1 commit into
saltstack:masterfrom
sblaisot:update_mysql_grants

Conversation

@sblaisot
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

sblaisot commented Jan 4, 2022

@waynew any news on this PR?

Copy link
Copy Markdown
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