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

TiCDC sink re-establishes in some unnecessary cases #9695

Closed
hicqu opened this issue Sep 7, 2023 · 0 comments · Fixed by #9666 or #9742
Closed

TiCDC sink re-establishes in some unnecessary cases #9695

hicqu opened this issue Sep 7, 2023 · 0 comments · Fixed by #9666 or #9742
Labels
affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. 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 7, 2023

What did you do?

After TiCDC sink is stuck for a while, TiCDC will destroy and re-establish the sink. However currently the stuck detection is not good enough. In such cases stuck will be reported mistakely:

  • after a long time incremental scan;
  • after a sync point is passed;
  • if a table hasn't been scheduled for a while.

What did you expect to see?

No response

What did you see instead?

In those cases, sink will be re-established, which is not expected.

Versions of the cluster

Master branch.

Analysis

Users who configured consistent.level = eventual and enable-syncpoint = true can meet the problem more easily. Especially for the cases with syncpoint-interval is larger than 150s, and it's the most common situations in fact.

It will cause table sink re-establishing too frequently, even cause checkpoint can not be advanced at all.

@hicqu hicqu added type/bug The issue is confirmed as a bug. area/ticdc Issues or PRs related to TiCDC. labels Sep 7, 2023
@hicqu hicqu added severity/moderate affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. labels Sep 7, 2023
hicqu added a commit to ti-chi-bot/tiflow that referenced this issue Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. area/ticdc Issues or PRs related to TiCDC. severity/moderate type/bug The issue is confirmed as a bug.
Projects
1 participant