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

drainer: fix too much version when initializing table infos #1237

Merged

Conversation

lichunzhu
Copy link
Contributor

What problem does this PR solve?

Issue Number: ref #1137

What is changed and how it works?

switch create table to batch create table to solve too many versions problem.

Check List

Tests

  • Unit test
  • Integration test

Code changes

  • None

Side effects

  • Increased code complexity

Related changes

  • None

Release note

  • No release note

@ti-chi-bot
Copy link

ti-chi-bot bot commented Jun 1, 2023

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • D3Hunter
  • niubell

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 bot added the size/S label Jun 1, 2023
@ti-chi-bot ti-chi-bot bot added size/M and removed size/S labels Jun 1, 2023
@lichunzhu
Copy link
Contributor Author

/run-integration-tests

1 similar comment
@lichunzhu
Copy link
Contributor Author

/run-integration-tests

@lichunzhu
Copy link
Contributor Author

/merge

/run-integration-tests

@ti-chi-bot
Copy link

ti-chi-bot bot commented Jun 2, 2023

@lichunzhu: /merge in this pull request requires 2 approval(s).

In response to this:

/merge

/run-integration-tests

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@niubell niubell requested review from D3Hunter and GMHDBJD June 2, 2023 01:49
Copy link

@niubell niubell left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -122,7 +122,7 @@ type SyncerConfig struct {
EnableCausalityFlag *bool `toml:"-" json:"enable-detect-flag"`
DisableCausalityFile *bool `toml:"disable-detect" json:"disable-detect"`
EnableCausalityFile *bool `toml:"enable-detect" json:"enable-detect"`
LoadTableInfos bool `toml:"load-table-infos" json:"load-table-infos"`
LoadSchemaSnapshot bool `toml:"load-schema-snapshot" json:"load-schema-snapshot"`
Copy link

Choose a reason for hiding this comment

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

in-compatible change? might need tell customer about this if they uses old parameter

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this parameter is never released. I have discussed with frank before and forget to change this.

@lichunzhu
Copy link
Contributor Author

/merge

@ti-chi-bot
Copy link

ti-chi-bot bot commented Jun 2, 2023

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

Commit hash: 917c39c

@ti-chi-bot ti-chi-bot bot merged commit 75410c7 into pingcap:release-6.5-20230522-v6.5.2-1 Jun 2, 2023
@lichunzhu
Copy link
Contributor Author

/cherry-pick master

@lichunzhu
Copy link
Contributor Author

/cherry-pick release-6.5

@lichunzhu
Copy link
Contributor Author

/run-integration-tests

@ti-chi-bot
Copy link
Member

@lichunzhu: new pull request created to branch master: #1238.

In response to this:

/cherry-pick master

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@ti-chi-bot
Copy link
Member

@lichunzhu: new pull request created to branch release-6.5: #1239.

In response to this:

/cherry-pick release-6.5

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

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

Successfully merging this pull request may close these issues.

4 participants