This repository has been archived by the owner on Nov 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 188
syncer,pkg/schema: implement schema tracker #379
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kennytm
added
priority/normal
Minor change, requires approval from ≥1 primary reviewer
needs-update-docs
Should update docs after this PR is merged. Remove this label once the docs are updated
status/WIP
This PR is still work in progress
type/feature
New feature
needs-update-release-note
This PR should be added into release notes. Remove this label once the release notes are updated
labels
Nov 28, 2019
kennytm
force-pushed
the
kennytm/schema-tracker
branch
14 times, most recently
from
December 5, 2019 09:19
8169a88
to
6b76eb3
Compare
kennytm
force-pushed
the
kennytm/schema-tracker
branch
from
December 5, 2019 09:45
6b76eb3
to
bd41f52
Compare
/run-all-tests tidb=release-3.0 |
1 similar comment
/run-all-tests tidb=release-3.0 |
kennytm
force-pushed
the
kennytm/schema-tracker
branch
from
December 17, 2019 10:18
65c5dbf
to
3656d3b
Compare
/run-all-tests tidb=release-3.0 |
Codecov Report
@@ Coverage Diff @@
## master #379 +/- ##
===========================================
Coverage 59.1193% 59.1193%
===========================================
Files 167 167
Lines 18894 18894
===========================================
Hits 11170 11170
Misses 6682 6682
Partials 1042 1042 |
kennytm
changed the title
[WIP] syncer,pkg/schema: implement schema tracker
syncer,pkg/schema: implement schema tracker
Dec 17, 2019
/run-all-tests tidb=release-3.0 |
csuzhangxc
reviewed
Dec 23, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rest LGTM
@WangXiangUSTC PTAL |
/run-all-tests tidb=release-3.0 |
csuzhangxc
reviewed
Dec 25, 2019
/run-all-tests tidb=release-3.0 |
csuzhangxc
reviewed
Dec 27, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, 👍
csuzhangxc
added
status/LGT1
One reviewer already commented LGTM
and removed
status/PTAL
This PR is ready for review. Add this label back after committing new changes
labels
Dec 27, 2019
@WangXiangUSTC PTAL again |
LGTM |
WangXiangUSTC
approved these changes
Dec 31, 2019
WangXiangUSTC
added
status/LGT2
Two reviewers already commented LGTM, ready for merge
and removed
status/LGT1
One reviewer already commented LGTM
labels
Dec 31, 2019
/run-all-tests tidb=release-3.0 |
1 similar comment
/run-all-tests tidb=release-3.0 |
lichunzhu
pushed a commit
to lichunzhu/dm
that referenced
this pull request
Apr 6, 2020
csuzhangxc
removed
the
needs-update-release-note
This PR should be added into release notes. Remove this label once the release notes are updated
label
Jun 17, 2020
csuzhangxc
added
already-update-docs
The docs related to this PR already updated. Add this label once the docs are updated
and removed
needs-update-docs
Should update docs after this PR is merged. Remove this label once the docs are updated
labels
Oct 27, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
already-update-docs
The docs related to this PR already updated. Add this label once the docs are updated
priority/normal
Minor change, requires approval from ≥1 primary reviewer
status/LGT2
Two reviewers already commented LGTM, ready for merge
type/feature
New feature
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Stores a copy of the downstream schema in the syncer, and whenever a DDL is received from upstream, execute this on the copy to track the latest schema.
What is changed and how it works?
model.*
(TODO: save the schema into checkpoint)Check List
Tests
Code changes
Side effects
Related changes