-
Notifications
You must be signed in to change notification settings - Fork 188
streamer: fix duplicate event when reparse relay using GTID (#1525) #1532
streamer: fix duplicate event when reparse relay using GTID (#1525) #1532
Conversation
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
/lgtm |
/auto-cc |
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
[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 writing |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 47f3bb5
|
/run-all-tests |
cherry-pick #1525 to release-2.0
You can switch your code base to this Pull Request by using git-extras:
# In dm repo: git pr https://github.com/pingcap/dm/pull/1532
After apply modifications, you can push your change to this PR via:
What problem does this PR solve?
part of #1524
What is changed and how it works?
when DM uses GTID and needs to return a reparse location, return last XID location so that
replaceWithHeartbeat
will be correctly calculatedCheck List
Tests
Code changes
Side effects
Related changes