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

update pkg about database #142

Merged
merged 10 commits into from
Dec 29, 2018
Merged

Conversation

WangXiangUSTC
Copy link
Contributor

@WangXiangUSTC WangXiangUSTC commented Dec 13, 2018

What problem does this PR solve?

update some function about database

this pr is splited from pr: #130
make it easy to review

What is changed and how it works?

  1. add some function to get tidb's buckets info
  2. add some function about index

Check List

Tests

  • Unit test
  • Integration test

@WangXiangUSTC
Copy link
Contributor Author

@GregoryIan @csuzhangxc PTAL

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

LGTM, but CI fail with other problem

@WangXiangUSTC
Copy link
Contributor Author

/rebuild

@WangXiangUSTC
Copy link
Contributor Author

WangXiangUSTC commented Dec 24, 2018

ci failed because mysql's port is already bind. rebuild and success. Thanks @csuzhangxc
@GregoryIan PTAL

@WangXiangUSTC
Copy link
Contributor Author

/rebuild

pkg/dbutil/common.go Outdated Show resolved Hide resolved
@IANTHEREAL
Copy link
Collaborator

ping @WangXiangUSTC

@WangXiangUSTC
Copy link
Contributor Author

I am doing this now. @GregoryIan

@WangXiangUSTC
Copy link
Contributor Author

PTAL again @GregoryIan

@IANTHEREAL
Copy link
Collaborator

LGTM

@WangXiangUSTC WangXiangUSTC merged commit 0a7ed9a into pingcap:master Dec 29, 2018
WangXiangUSTC added a commit to WangXiangUSTC/tidb-tools that referenced this pull request Feb 11, 2019
WangXiangUSTC added a commit that referenced this pull request Feb 13, 2019
* sync_diff_inspector: fix a misleading regex example in config.toml (#141)

* update pkg about database (#142)

* diff: add database name and table name router (#172)

* simplify the if/else logic (#179)

refactor to simplify the if/else logic

* diff: can use multiple columns to split chunks (#130)

* simplify the if/else logic (#191)
@WangXiangUSTC WangXiangUSTC deleted the xiang/pkg branch July 9, 2019 08:25
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.

3 participants