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

api(ticdc): fix resign owner cause capture restart bug #10781

Closed
sdojjy opened this issue Mar 14, 2024 · 1 comment · Fixed by #10782
Closed

api(ticdc): fix resign owner cause capture restart bug #10781

sdojjy opened this issue Mar 14, 2024 · 1 comment · Fixed by #10782
Assignees
Labels
affects-7.5 affects-8.0 area/ticdc Issues or PRs related to TiCDC. severity/major type/bug The issue is confirmed as a bug.

Comments

@sdojjy
Copy link
Member

sdojjy commented Mar 14, 2024

When API /api/v2/owner/resign was called, cdc capture will restart abnormally.

@asddongmen
Copy link
Contributor

This issue arises when the controller loop exits, triggering the ownerCtx's cancel function. This may cause the owner loop to exit abnormally and return a context canceled error, leading to an unexpected restart of the capture.

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

Successfully merging a pull request may close this issue.

2 participants