Skip to content

MDEV-41907 mask sensitive data in the statements logged by wsrep. - #6270

Merged
janlindstrom merged 1 commit into
10.11from
MDEV-41907
Dec 1, 2026
Merged

janlindstrom merged 1 commit into
10.11from
MDEV-41907

Conversation

@ayurchen

Copy link
Copy Markdown
Contributor

@janlindstrom janlindstrom left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good.

Use wsrep_thd_query() instead of thd->query() when logging
statements that can potentially contain sensitive data. Masking
is possible only for parsed statements, so don't log statements
before parsing.
Add MTR test to verify the fix.
@janlindstrom
janlindstrom enabled auto-merge (rebase) December 1, 2026 06:03
@janlindstrom
janlindstrom merged commit c928aeb into 10.11 Dec 1, 2026
17 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants