-
Notifications
You must be signed in to change notification settings - Fork 289
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
dm: turn on/off relay by source config #3190
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-dm-integration-tests let's see how many failed |
So if the user started a task with relay, we need to ask them whether the cluster is upgraded from v2.0.1 or v2.0.1+? 😭 |
only v2.0.1+ has |
If user upgrade from v2.0.1, they should stop relay by stop-source and update enable-relay: false. If user upgrade from v2.0.1+, they should stop relay by stop-relay command? |
I prefer support enable-relay after we really add start-relay -s source, then the behavior of start-relay -s source and enable-relay is the same. If this is the case, it is difficult to explain their differences to users |
|
so stop-relay, upgrade cluster, then the relay will be started. 😂 |
if they need We can implement |
/run-dm-integration-tests |
1 similar comment
/run-dm-integration-tests |
/run-dm-integration-tests |
1 similar comment
/run-dm-integration-tests |
/run-dm-integration-tests |
1 similar comment
/run-dm-integration-tests |
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 🉑 please fix the confilcts
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 3948407
|
/run-kafka-integration-test |
/run-dm-integration-test |
1 similar comment
/run-dm-integration-test |
need update upstream_switch case https://github.com/pingcap/ticdc/runs/4209093582?check_suite_focus=true @lance6716 |
What problem does this PR solve?
we re-support old behavour. if user set
enable-relay: true
in source config, we'll use relay replication for the bound worker.note that
start-relay -s source workername
(whether executed now or upgraded from metadata of old version) on aenable-relay: true
source is undefined behaviour.What is changed and how it works?
⬆️
Check List
Tests
Code changes
Side effects
Related changes
Release note