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

cdc gets wrong pd gc safe point and causes changefeed exceeds gc ttl wrongly #10463

Closed
AkiraXie opened this issue Jan 12, 2024 · 1 comment · Fixed by #10546
Closed

cdc gets wrong pd gc safe point and causes changefeed exceeds gc ttl wrongly #10463

AkiraXie opened this issue Jan 12, 2024 · 1 comment · Fixed by #10546
Assignees
Labels
affects-6.1 affects-6.5 affects-7.1 area/ticdc Issues or PRs related to TiCDC. severity/major type/bug The issue is confirmed as a bug.

Comments

@AkiraXie
Copy link

What did you do?

  1. cdc shows gc safe point is 446948031767773184
    img_v3_0271_e89e428e-48fb-4144-ba65-48c7ad127e9g
  2. but pd-ctl shows service-gc-safepoint is 446932460422299648
    img_v3_0271_4d0c46ee-f801-4c44-8c87-acbd7c2c910g
  3. and tikv metrics about gc is also same with service-gc-safepoint
    img_v3_0271_05ed7c1e-0056-4562-9daa-de46e8301b5g
  4. this may cause ticdc exceed gc ttl in error
    img_v3_0271_c7de1557-f026-4af7-a487-36449fc19afg

What did you expect to see?

No response

What did you see instead?

cdc gets wrong pd gc safe point and causes changefeed exceeds gc ttl wrongly

Versions of the cluster

Upstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):

(paste TiDB cluster version here)

Upstream TiKV version (execute tikv-server --version):

(paste TiKV version here)

TiCDC version (execute cdc version):

master
@AkiraXie AkiraXie added area/ticdc Issues or PRs related to TiCDC. type/bug The issue is confirmed as a bug. labels Jan 12, 2024
@AkiraXie
Copy link
Author

/severity major

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.1 affects-6.5 affects-7.1 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.

4 participants