Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: crowu y.wu4515@gmail.com
Backport
YES
Status
READY
Description
If we do any SQL commend with password, Vitess will log it. And currently vitess only redact master password.
This PR tries to redact any password in the SQL query so that people won't see it as plain text in the log
Related Issue(s)
List related PRs against other branches:
This addresses #7197:
Todos
Deployment Notes
NA
Impacted Areas in Vitess
List general components of the application that this PR will affect: