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

update of changefeed configiration changefeed-error-stuck-duration not working #10998

Closed
fubinzh opened this issue Apr 28, 2024 · 5 comments · Fixed by #11042
Closed

update of changefeed configiration changefeed-error-stuck-duration not working #10998

fubinzh opened this issue Apr 28, 2024 · 5 comments · Fixed by #11042
Assignees
Labels
affects-7.5 affects-8.1 area/ticdc Issues or PRs related to TiCDC. severity/moderate type/bug The issue is confirmed as a bug.

Comments

@fubinzh
Copy link

fubinzh commented Apr 28, 2024

What did you do?

  1. creaet an kafka changefeed with default configuration (changefeed-error-stuck-duration default 30m)
  2. pause and update changefeed, set changefeed-error-stuck-duration to 90m
  3. resume changefed
  4. Inject network partition between cdc and kafka for 60m

What did you expect to see?

CDC should be able to tolerate network partition between cdc and kafka for 90m, before that CDC changefeed should not be in failed state.

What did you see instead?

CDC changefeed in failed state after 30m.
image
img_v3_02a9_30a1b0ad-2ddb-4312-a945-f6d39177706g

Versions of the cluster

master

@fubinzh fubinzh added area/ticdc Issues or PRs related to TiCDC. type/bug The issue is confirmed as a bug. labels Apr 28, 2024
@fubinzh
Copy link
Author

fubinzh commented Apr 28, 2024

/severity moderate

@asddongmen
Copy link
Contributor

asddongmen commented Apr 29, 2024

The root cause of the issue is that the feedStateManager.changefeedErrorStuckDuration is set at the time of a changefeed's creation and remains unchanged when the changefeed is updated.
A possible solution is to set the feedStateManager.changefeedErrorStuckDuration to the latest one store in changefeedInfo in every feedStateManager.TiCK call.

@asddongmen asddongmen assigned asddongmen and unassigned asddongmen May 7, 2024
@asddongmen
Copy link
Contributor

/assign @wk989898

Copy link
Contributor

ti-chi-bot bot commented May 7, 2024

@asddongmen: GitHub didn't allow me to assign the following users: wk989898.

Note that only pingcap members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time.
For more information please see the contributor guide

In response to this:

/assign @wk989898

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@wk989898
Copy link
Collaborator

wk989898 commented May 7, 2024

Get

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