-
Notifications
You must be signed in to change notification settings - Fork 288
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
syncer(dm): save table checkpoint after a DDL is filtered #5273
Conversation
Signed-off-by: lance6716 <[email protected]>
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
/hold test is invalid |
Signed-off-by: lance6716 <[email protected]>
/run-dm-integration-test |
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
sleep 3 | ||
run_dm_ctl_with_retry $WORK_DIR "127.0.0.1:$MASTER_PORT" \ |
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.
Seems the run_dm_ctl_with_retry already meets the requirements
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.
I want to wait some time to see if an error is going to happen
@@ -128,6 +128,7 @@ func (b *binlogPoint) rollback(schemaTracker *schema.Tracker, schema string) (is | |||
b.flushedPoint.location.ResetSuffix() | |||
b.savedPoint.location = b.flushedPoint.location | |||
if b.savedPoint.ti == nil { | |||
// TODO: if we forget to save table info for table checkpoint, this is also nil! |
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.
table point which rollbacks before can also be nil
Signed-off-by: lance6716 <[email protected]>
/merge |
Codecov Report
Flags with carried forward coverage won't be shown. Click here to find out more. @@ Coverage Diff @@
## master #5273 +/- ##
================================================
+ Coverage 56.1240% 56.1385% +0.0145%
================================================
Files 522 524 +2
Lines 65325 68730 +3405
================================================
+ Hits 36663 38584 +1921
- Misses 25094 26412 +1318
- Partials 3568 3734 +166 |
This pull request has been accepted and is ready to merge. Commit hash: b37cfac
|
/run-dm-integration-test |
In response to a cherrypick label: new pull request created: #5290. |
Signed-off-by: ti-chi-bot <[email protected]>
Signed-off-by: ti-chi-bot <[email protected]>
In response to a cherrypick label: new pull request created: #5291. |
Signed-off-by: ti-chi-bot <[email protected]>
In response to a cherrypick label: new pull request created: #5292. |
Signed-off-by: lance6716 [email protected]
What problem does this PR solve?
Issue Number: ref #5272
What is changed and how it works?
as title
Check List
Tests
Related changes
Release note