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): only check sink stuck for MQ sinks #9742

Merged
merged 4 commits into from
Sep 14, 2023

Conversation

hicqu
Copy link
Contributor

@hicqu hicqu commented Sep 14, 2023

What problem does this PR solve?

Issue Number: close #9736 .
Issue Number: close #9695 .

What is changed and how it works?

Other sink categories like Txn or CloudStorage can handles table sink progress callbacks good enough: callbacks won't be lost forever if sink factory fails internally. Otherwise an error will be reported instead, which can cause sink factory re-established correctly.

We only have met the callback lose issue for MQ sinks, so only check sink stuck for MQ sink is enough.

Check List

Tests

  • Unit 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 release-note-none Denotes a PR that doesn't merit a release note. 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. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Sep 14, 2023
Signed-off-by: qupeng <[email protected]>
@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Sep 14, 2023
@hicqu
Copy link
Contributor Author

hicqu commented Sep 14, 2023

/test cdc-integration-mysql-test

1 similar comment
@hicqu
Copy link
Contributor Author

hicqu commented Sep 14, 2023

/test cdc-integration-mysql-test

@ti-chi-bot ti-chi-bot bot added the lgtm label Sep 14, 2023
@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Sep 14, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: CharlesCheung96, sdojjy

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 [CharlesCheung96,sdojjy]

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 Sep 14, 2023
@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Sep 14, 2023

[LGTM Timeline notifier]

Timeline:

  • 2023-09-14 02:56:15.050536252 +0000 UTC m=+140541.018124287: ☑️ agreed by sdojjy.
  • 2023-09-14 05:29:42.367354005 +0000 UTC m=+149748.334942055: ☑️ agreed by CharlesCheung96.

@ti-chi-bot ti-chi-bot bot merged commit 141c9a7 into pingcap:master Sep 14, 2023
11 of 13 checks passed
@ti-chi-bot
Copy link
Member

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

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

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

ti-chi-bot bot pushed a commit that referenced this pull request Sep 26, 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/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

stuck check can still make some mistake reports TiCDC sink re-establishes in some unnecessary cases
4 participants