-
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
sink(cdc): handle sink errors more fast and light #8949
Conversation
Signed-off-by: qupeng <qupeng@pingcap.com>
Signed-off-by: qupeng <qupeng@pingcap.com>
[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. |
Signed-off-by: qupeng <qupeng@pingcap.com>
/test verify |
1 similar comment
/test verify |
Signed-off-by: qupeng <qupeng@pingcap.com>
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.
To ensure clarity and accuracy, kindly revise the title of your PR and provide comprehensive information in its description.
@@ -179,7 +183,10 @@ func newChangefeed4Test( | |||
schemaStorage entry.SchemaStorage, | |||
filter filter.Filter, | |||
) (puller.DDLPuller, error), | |||
newSink func(changefeedID model.ChangeFeedID, info *model.ChangeFeedInfo, reportErr func(err error)) DDLSink, | |||
newSink func( |
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.
Maybe we can give it a type, then we don't need to copy and paste it a couple of times.
/merge |
This pull request has been accepted and is ready to merge. Commit hash: fc0e86d
|
This pull request has been accepted and is ready to merge. Commit hash: 5ac5fe0
|
/test cdc-integration-mysql-test |
@hicqu: The following test failed, say
Full PR test history. Your PR dashboard. 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 kubernetes/test-infra repository. I understand the commands that are listed here. |
/test cdc-integration-kafka-test |
In response to a cherrypick label: new pull request created to branch |
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
In response to a cherrypick label: new pull request created to branch |
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
Signed-off-by: qupeng <qupeng@pingcap.com> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
…cap#8989) ref pingcap#8657 Signed-off-by: qupeng <qupeng@pingcap.com>
ref pingcap#8657 Signed-off-by: qupeng <qupeng@pingcap.com>
What problem does this PR solve?
Issue Number: ref #8657
What is changed and how it works?
Handle sink errors more fast and light, without rebuilding the whole changefeed.
Check List
Tests
Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note