Skip to content

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

Closed
@hicqu

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    affects-6.5This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.area/ticdcIssues or PRs related to TiCDC.severity/moderatetype/bugThe issue is confirmed as a bug.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions