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 "dead dmlSink" error in sink workers #9686

Merged
merged 5 commits into from
Sep 8, 2023

Conversation

hicqu
Copy link
Contributor

@hicqu hicqu commented Sep 5, 2023

What problem does this PR solve?

Issue Number: close #9685 .

What is changed and how it works?

Call defer func() { handleSpecialSinkInternalErrors() } before fetchFromCache.

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

Signed-off-by: qupeng <qupeng@pingcap.com>
@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. 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 Sep 5, 2023
@hicqu
Copy link
Contributor Author

hicqu commented Sep 5, 2023

/test cdc-integration-mysql-test

Signed-off-by: qupeng <qupeng@pingcap.com>
Signed-off-by: qupeng <qupeng@pingcap.com>
Signed-off-by: qupeng <qupeng@pingcap.com>
@hicqu
Copy link
Contributor Author

hicqu commented Sep 6, 2023

/test cdc-integration-mysql-test

@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Sep 7, 2023
@ti-chi-bot ti-chi-bot bot added the lgtm label Sep 8, 2023
@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Sep 8, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: asddongmen, 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 [CharlesCheung96,asddongmen]

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

ti-chi-bot bot commented Sep 8, 2023

[LGTM Timeline notifier]

Timeline:

  • 2023-09-07 05:08:05.728480542 +0000 UTC m=+2594850.277496513: ☑️ agreed by asddongmen.
  • 2023-09-08 10:37:20.890169099 +0000 UTC m=+6422.814725492: ☑️ agreed by CharlesCheung96.

@hicqu
Copy link
Contributor Author

hicqu commented Sep 8, 2023

/retest-required

@ti-chi-bot ti-chi-bot bot merged commit 85dcc86 into pingcap:master Sep 8, 2023
12 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: #9714.

ti-chi-bot pushed a commit to ti-chi-bot/tiflow that referenced this pull request Sep 8, 2023
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
@ti-chi-bot
Copy link
Member

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

@hicqu hicqu deleted the dead-dml branch September 8, 2023 12:08
hicqu 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/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.

"dead dmlSink" error in sink workers will cause changefeed restart
4 participants