-
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
executor: fix admin cleanup index for non-unique handles in a unique index #7248
Conversation
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
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-all-tests |
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-mybatis-test |
/run-all-tests |
1 similar comment
/run-all-tests |
…index (pingcap#7248) * fix one handle to multi unique indices
What have you changed? (mandatory)
When we need to delete darling indices, we can not assume the unique darling indices have the unique handles as its values. It means if the darling indices look like:
we can delete the last one only. This pr fix it.
What is the type of the changes? (mandatory)
How has this PR been tested? (mandatory)
Unit test.
Does this PR affect documentation (docs/docs-cn) update? (mandatory)
No.
Does this PR affect tidb-ansible update? (mandatory)
No.
Does this PR need to be added to the release notes? (mandatory)
release note:
Fix a corner case of
ADMIN CLEANUP INDEX
when dealing with a unique index.PTAL @coocood @winkyao