Skip to content

syncer.go: don't add row_id column to table info#422

Merged
WangXiangUSTC merged 2 commits intomasterfrom
hjh/no_row_id
Dec 19, 2018
Merged

syncer.go: don't add row_id column to table info#422
WangXiangUSTC merged 2 commits intomasterfrom
hjh/no_row_id

Conversation

@july2993
Copy link
Copy Markdown
Contributor

this make it don't use _tidb_rowid column when dest-type = tidb

What problem does this PR solve?

see https://internal.pingcap.net/jira/browse/TOOL-725

What is changed and how it works?

don't use _tidb_rowid column when dest-type = tidb
we can still remains tidb type.
and some feature for tidb type like:https://internal.pingcap.net/jira/browse/TOOL-727
although it don't work now actually...

Check List

Tests

  • Manual test (add detailed scripts or steps below)
    create table and insert & delete
    set dest-type = tidb, and run tests/binlog testcase
    maybe better add a dest-type = tidb test case

Code changes

Side effects

Related changes

  • Need to cherry-pick to the release branch
    kafka

this make it don't use _tidb_rowid column when dest-type = tidb
@WangXiangUSTC
Copy link
Copy Markdown
Contributor

LGTM

@july2993
Copy link
Copy Markdown
Contributor Author

@GregoryIan PTAL

@july2993
Copy link
Copy Markdown
Contributor Author

/run-all-tests

Copy link
Copy Markdown
Collaborator

@IANTHEREAL IANTHEREAL left a comment

Choose a reason for hiding this comment

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

LGTM

@WangXiangUSTC
Copy link
Copy Markdown
Contributor

/run-all-tests

@WangXiangUSTC WangXiangUSTC merged commit eab149c into master Dec 19, 2018
@july2993 july2993 deleted the hjh/no_row_id branch December 19, 2018 12:55
WangXiangUSTC pushed a commit that referenced this pull request Dec 19, 2018
this make it don't use _tidb_rowid column when dest-type = tidb
WangXiangUSTC pushed a commit that referenced this pull request Dec 19, 2018
this make it don't use _tidb_rowid column when dest-type = tidb
WangXiangUSTC pushed a commit that referenced this pull request Dec 19, 2018
this make it don't use _tidb_rowid column when dest-type = tidb
WangXiangUSTC added a commit that referenced this pull request Dec 19, 2018
this make it don't use _tidb_rowid column when dest-type = tidb
july2993 added a commit that referenced this pull request Dec 25, 2018
this make it don't use _tidb_rowid column when dest-type = tidb
july2993 added a commit that referenced this pull request Dec 27, 2018
* syncer.go: don't add row_id column to table info (#422)

this make it don't use _tidb_rowid column when dest-type = tidb

* drainer/* Improve  performance of dest-type=kafka (#423)

note binlog.String() may be pretty slow
only 1k+ op/second of the benchmark
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