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

"dead dmlSink" error in sink workers will cause changefeed restart #9685

Closed
hicqu opened this issue Sep 5, 2023 · 0 comments · Fixed by #9686
Closed

"dead dmlSink" error in sink workers will cause changefeed restart #9685

hicqu opened this issue Sep 5, 2023 · 0 comments · Fixed by #9686
Labels
affects-6.5 affects-7.1 area/ticdc Issues or PRs related to TiCDC. severity/moderate type/bug The issue is confirmed as a bug.

Comments

@hicqu
Copy link
Contributor

hicqu commented Sep 5, 2023

What did you do?

  • run a changefeed;
  • if some sink errors are met in fetchFromCache, they won't be treated as special SinkInternalErrors;
  • so the whole changefeed will be restarted, instead of the processor sink module.

What did you expect to see?

No response

What did you see instead?

Whole changefeed will be restarted, instead of the processor sink module.

Versions of the cluster

Master branch.

Analysis

In v6.5.3 an improvement is introduced to reduce checkpoint lag when downstream sink fails. With the new mechanism, processor can re-establish failed sinks only instead of re-initialize the whole changefeed.

However, this bug breaks this mechanism, which will lead the whole changefeed get re-initialized in all cases. It will increase
checkpoint lag, especially for the cases with lots of tables and regions.

This bug only affects users who configured consistent.level = eventual.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.5 affects-7.1 area/ticdc Issues or PRs related to TiCDC. severity/moderate type/bug The issue is confirmed as a bug.
Projects
Development

Successfully merging a pull request may close this issue.

1 participant