Skip to content
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): fix the bug that mq sink can lost callbacks #9852

Merged
merged 2 commits into from
Oct 11, 2023

Conversation

hicqu
Copy link
Contributor

@hicqu hicqu commented Oct 10, 2023

What problem does this PR solve?

Issue Number: close #9855

What is changed and how it works?

When errors happen in MQSink.WriteEvents, the backend sink should be canceled correctly. Otherwise the table can lost callbacks forever.

Check List

Tests

  • Integration test

Questions

Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?

Release note

None

@ti-chi-bot ti-chi-bot bot added do-not-merge/needs-linked-issue release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Oct 10, 2023
Signed-off-by: qupeng <[email protected]>
@ti-chi-bot ti-chi-bot bot added needs-cherry-pick-release-6.5 Should cherry pick this PR to release-6.5 branch. needs-cherry-pick-release-7.1 Should cherry pick this PR to release-7.1 branch. and removed do-not-merge/needs-linked-issue labels Oct 10, 2023
@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Oct 10, 2023
@hicqu
Copy link
Contributor Author

hicqu commented Oct 10, 2023

/retest-required

@ti-chi-bot ti-chi-bot bot added the lgtm label Oct 11, 2023
@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Oct 11, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 3AceShowHand, CharlesCheung96

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [3AceShowHand,CharlesCheung96]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot removed the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Oct 11, 2023
@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Oct 11, 2023

[LGTM Timeline notifier]

Timeline:

  • 2023-10-10 09:52:04.398669449 +0000 UTC m=+1132321.985779594: ☑️ agreed by 3AceShowHand.
  • 2023-10-11 03:25:05.46706834 +0000 UTC m=+1195503.054178485: ☑️ agreed by CharlesCheung96.

@ti-chi-bot ti-chi-bot bot merged commit 215162d into pingcap:master Oct 11, 2023
14 checks passed
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-6.5: #9858.

ti-chi-bot pushed a commit to ti-chi-bot/tiflow that referenced this pull request Oct 11, 2023
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-7.1: #9859.

ti-chi-bot pushed a commit to ti-chi-bot/tiflow that referenced this pull request Oct 11, 2023
@hicqu hicqu deleted the mq-sink-lost-callback branch October 11, 2023 07:25
hicqu pushed a commit that referenced this pull request Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm needs-cherry-pick-release-6.5 Should cherry pick this PR to release-6.5 branch. needs-cherry-pick-release-7.1 Should cherry pick this PR to release-7.1 branch. release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TiCDC MQ sinks can lost callbacks
4 participants