-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
executor: remove sensitive information in slow-log and statement #18107
Conversation
Signed-off-by: crazycs520 <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #18107 +/- ##
===========================================
Coverage 80.4869% 80.4869%
===========================================
Files 526 526
Lines 149377 149377
===========================================
Hits 120229 120229
Misses 19976 19976
Partials 9172 9172 |
Signed-off-by: crazycs520 <[email protected]>
Signed-off-by: crazycs520 <[email protected]>
Signed-off-by: crazycs520 <[email protected]>
Signed-off-by: crazycs520 <[email protected]>
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.
LGTM
Signed-off-by: crazycs520 <[email protected]>
/run-integration-ddl-test |
/run-unit-tests |
Signed-off-by: crazycs520 <[email protected]>
Signed-off-by: crazycs520 <[email protected]>
/run-all-tests |
/run-integration-br-test |
/rebuild |
/run-all-tests |
/run-common-test |
/run-integration-br-test |
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.
LGTM
/run-integration-br-test |
/run-cherry-picker |
cherry pick to release-3.0 in PR #18128 |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-3.1 in PR #18129 |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-4.0 in PR #18130 |
…gcap#18107) Signed-off-by: crazycs520 <[email protected]>
) (#18129) Signed-off-by: ti-srebot <[email protected]> Signed-off-by: crazycs520 <[email protected]>
Signed-off-by: crazycs520 [email protected]
What problem does this PR solve?
Before this PR, TiDB slow log will record sensitive information such as passwords in slow-log query.
This PR remove sensitive information in slow-log. Such as below:
execute below sql:
The related slow-log will be:
the related statement will be:
What is changed and how it works?
Proposal: xxx
What's Changed:
How it Works:
Related changes
Check List
Tests
Side effects
Release note