-
Notifications
You must be signed in to change notification settings - Fork 287
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): fix the error when upstream has empty GTID set #7542
Conversation
[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. |
/run-all-tests |
/cc @D3Hunter |
@@ -0,0 +1,39 @@ | |||
--- | |||
name: test | |||
task-mode: all |
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.
this is a all
mode task, change to incremental
? or move it into tests/all_mode
dm/tests/incremental_mode/run.sh
Outdated
"\"alive\": true" 1 | ||
|
||
echo "start task and check stage" | ||
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.
check current master gtid is empty in show master status
# Conflicts: # dm/tests/incremental_mode/run.sh
/merge |
This pull request has been accepted and is ready to merge. Commit hash: d8cba8a
|
/run-all-tests |
check_rpc_alive $cur/../bin/check_worker_online 127.0.0.1:$WORKER1_PORT | ||
|
||
# operate mysql config to worker | ||
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 no need to create source, the source is created in previous tests
/run-dm-integration-test |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 76f4d53
|
Codecov Report
Additional details and impacted files
Flags with carried forward coverage won't be shown. Click here to find out more. @@ Coverage Diff @@
## master #7542 +/- ##
================================================
- Coverage 60.0458% 59.9188% -0.1271%
================================================
Files 807 808 +1
Lines 92391 92717 +326
================================================
+ Hits 55477 55555 +78
- Misses 32099 32331 +232
- Partials 4815 4831 +16 |
/run-dm-integration-test |
@liumengya94: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 0fce3d4
|
@liumengya94: Your PR was out of date, I have automatically updated it for you. At the same time I will also trigger all tests for you: /run-all-tests If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
What problem does this PR solve?
Issue Number: close #7037
What is changed and how it works?
update
latestPos
inPreviousGTIDsEvent
andMariadbGTIDListEvent
Check List
Tests
Questions
Will it cause performance regression or break compatibility?
No
Do you need to update user documentation, design documentation or monitoring documentation?
No
Release note