-
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: tiny refactor code to improve CheckTableExec #32295
executor: tiny refactor code to improve CheckTableExec #32295
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
/run-unit-test |
Code Coverage Details: https://codecov.io/github/pingcap/tidb/commit/eacac3681c4c382d2aa5ee790b2cbc5a8f0f0141 |
/run-check_dev |
926ac5f
to
5c1d48a
Compare
39e67b9
to
f2222b8
Compare
/run-unit-test |
1d38831
to
4c6ca99
Compare
/run-mysql-test |
/run-mysql-test |
/run-unit-test |
/run-unit-test |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 1895b0e
|
/run-mysql-test |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-5.0 in PR #32527 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-5.1 in PR #32528 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-5.2 in PR #32529 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-5.3 in PR #32530 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-5.4 in PR #32531 |
Signed-off-by: Weizhen Wang wangweizhen@pingcap.com
What problem does this PR solve?
Issue Number: close #32294
Problem Summary:
1、When
Close
CheckTableExec
, it will stop all the goroutine.2、When
checkIndexHandle
meet error. it will stop all the goroutine created byCheckTableExec
.3、no wait for WaitGroup for a long time.
4、fix data race.
What is changed and how it works?
Check List
Tests
use old test cases.
Side effects
Documentation
Release note