Skip to content
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

util/admin: support admin check index on partition table #17183

Merged
merged 15 commits into from
May 25, 2020

Conversation

crazycs520
Copy link
Contributor

@crazycs520 crazycs520 commented May 13, 2020

Signed-off-by: crazycs520 crazycs520@gmail.com

What problem does this PR solve?

Close #17398

As title said.

Before this PR, admin check index on partition table will panic.

What is changed and how it works?

This PR removes the CheckIndexExec executor, and use CheckTableExec executor to do admin check index.

Related changes

  • Need to cherry-pick to the release branch

Check List

Tests

  • Unit test

Side effects

  • No

Release note

  • Support admin check index on the partition table

Signed-off-by: crazycs520 <crazycs520@gmail.com>
Signed-off-by: crazycs520 <crazycs520@gmail.com>
@crazycs520 crazycs520 added type/bugfix This PR fixes a bug. component/util labels May 13, 2020
@crazycs520 crazycs520 requested review from a team as code owners May 13, 2020 14:00
@ghost ghost requested review from SunRunAway and removed request for a team May 13, 2020 14:00
@crazycs520
Copy link
Contributor Author

@tiancaiamao @zimulala PTAL

Signed-off-by: crazycs520 <crazycs520@gmail.com>
@github-actions github-actions bot added the sig/execution SIG execution label May 13, 2020
Signed-off-by: crazycs520 <crazycs520@gmail.com>
@crazycs520
Copy link
Contributor Author

/run-unit-test

@codecov
Copy link

codecov bot commented May 14, 2020

Codecov Report

Merging #17183 into master will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master     #17183   +/-   ##
===========================================
  Coverage   80.3230%   80.3230%           
===========================================
  Files           521        521           
  Lines        142908     142908           
===========================================
  Hits         114788     114788           
  Misses        19160      19160           
  Partials       8960       8960           

@crazycs520 crazycs520 added needs-cherry-pick-4.0 priority/release-blocker This issue blocks a release. Please solve it ASAP. labels May 14, 2020
@crazycs520
Copy link
Contributor Author

/run-unit-test

@crazycs520 crazycs520 closed this May 14, 2020
@crazycs520 crazycs520 reopened this May 14, 2020
@tiancaiamao
Copy link
Contributor

LGTM

@tiancaiamao tiancaiamao added the status/LGT1 Indicates that a PR has LGTM 1. label May 14, 2020
Copy link
Member

@bb7133 bb7133 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bb7133 bb7133 added status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels May 25, 2020
@sre-bot
Copy link
Contributor

sre-bot commented May 25, 2020

/run-all-tests

@sre-bot sre-bot merged commit 2bdf6a0 into pingcap:master May 25, 2020
@crazycs520
Copy link
Contributor Author

/run-cherry-picker

@crazycs520 crazycs520 deleted the admin-check-partition-index branch May 25, 2020 13:33
sre-bot pushed a commit to sre-bot/tidb that referenced this pull request May 25, 2020
Signed-off-by: sre-bot <sre-bot@pingcap.com>
@sre-bot
Copy link
Contributor

sre-bot commented May 25, 2020

cherry pick to release-3.0 in PR #17390

sre-bot pushed a commit to sre-bot/tidb that referenced this pull request May 25, 2020
Signed-off-by: sre-bot <sre-bot@pingcap.com>
@sre-bot
Copy link
Contributor

sre-bot commented May 25, 2020

cherry pick to release-3.1 in PR #17391

sre-bot pushed a commit to sre-bot/tidb that referenced this pull request May 25, 2020
Signed-off-by: sre-bot <sre-bot@pingcap.com>
@sre-bot
Copy link
Contributor

sre-bot commented May 25, 2020

cherry pick to release-4.0 in PR #17392

jebter pushed a commit that referenced this pull request May 26, 2020
Signed-off-by: sre-bot <sre-bot@pingcap.com>

Co-authored-by: crazycs <crazycs520@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/util priority/release-blocker This issue blocks a release. Please solve it ASAP. sig/execution SIG execution status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. type/bugfix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

admin check index not work on the partition table
5 participants