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

diff: get table info before check #195

Merged
merged 3 commits into from
Feb 18, 2019

Conversation

WangXiangUSTC
Copy link
Contributor

What problem does this PR solve?

issue: #187
when ignore-struct-check = true or some table's struct is not equal, some table's info may be nil.

What is changed and how it works?

get all table's info when adjust config in source and target.

Check List

Tests

  • Integration test
  • Manual test (set ignore-struct-check = true)

Copy link
Member

@csuzhangxc csuzhangxc left a comment

Choose a reason for hiding this comment

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

rest LGTM

pkg/diff/diff.go Outdated Show resolved Hide resolved
@csuzhangxc
Copy link
Member

LGTM

@WangXiangUSTC WangXiangUSTC changed the title diff: get table info when adjust config diff: get table info before check Feb 11, 2019
@amyangfei
Copy link
Contributor

LGTM

@amyangfei
Copy link
Contributor

Is CI for this repo missing now? PTAL @zhouqiang-cl

@WangXiangUSTC
Copy link
Contributor Author

/rebuild

@IANTHEREAL
Copy link
Collaborator

IANTHEREAL commented Feb 18, 2019

any CI testings? @WangXiangUSTC

@WangXiangUSTC
Copy link
Contributor Author

WangXiangUSTC commented Feb 18, 2019

I have already request @cwen0 for help @GregoryIan

@cwen0
Copy link
Member

cwen0 commented Feb 18, 2019

/run-all-tests

@WangXiangUSTC
Copy link
Contributor Author

/run-all-tests

@WangXiangUSTC WangXiangUSTC merged commit 515a74c into pingcap:master Feb 18, 2019
@WangXiangUSTC WangXiangUSTC deleted the xiang/tableinfo branch February 18, 2019 06:21
WangXiangUSTC added a commit to WangXiangUSTC/tidb-tools that referenced this pull request Feb 25, 2019
WangXiangUSTC added a commit that referenced this pull request Feb 27, 2019
* diff: get table info before check (#195)

* diff: refine code && add unit test for sharding tables
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.

None yet

5 participants