Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

prepare: filter databases before show table status (#324) #337

Merged

Conversation

ti-chi-bot
Copy link
Member

This is an automated cherry-pick of #324

What problem does this PR solve?

In #305, we have switched the method to get table info to SHOW TABLE STATUS. To reduce the access to databases, we'd better filter databases before we executing SHOW TABLE STATUS.

What is changed and how it works?

Filter databases before SHOW TABLE STATUS through conf.Filter.

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
    Dump databases and check the log. The databases are filtered before SHOW TABLE STATUS.

Related changes

  • Need to cherry-pick to the release branch

Release note

  • No release note

@ti-chi-bot
Copy link
Member Author

ti-chi-bot commented Aug 24, 2021

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • Ehco1996

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot ti-chi-bot added the status/LGT1 One reviewer approved (LGTM1) label Aug 24, 2021
@lichunzhu
Copy link
Contributor

/merge

@ti-chi-bot
Copy link
Member Author

This pull request has been accepted and is ready to merge.

Commit hash: 6159952

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants