-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
privilege: fix atomic problem of DROP ROLE
#14090
Conversation
/run-all-tests |
/run-all-tests tidb-test=pr/966 |
Codecov Report
@@ Coverage Diff @@
## master #14090 +/- ##
===========================================
Coverage ? 80.1725%
===========================================
Files ? 483
Lines ? 121473
Branches ? 0
===========================================
Hits ? 97388
Misses ? 16326
Partials ? 7759 |
9dbf324
to
7ba3a37
Compare
/run-all-tests tidb-test=pr/966 |
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
LGTM |
/merge |
/run-all-tests |
@imtbkcat merge failed. |
/merge |
/run-all-tests |
/rebuild |
/build |
/merge |
/run-all-tests |
cherry pick to release-3.0 failed |
What problem does this PR solve?
TiDB has atomic problem at
DROP ROLE
, which can reproduce like this:The problem was cause by error logic in
DROP ROLE
, which doesn't break loop when error occur.What is changed and how it works?
Break the loop when drop user/role failed.
Check List
Tests
Code changes
Side effects
Related changes
Release note
DROP ROLE