-
Notifications
You must be signed in to change notification settings - Fork 289
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 cloud: [CDC:ErrMetaListDatabases][tikv:9006]GC life time is shorter than transaction duration, transaction starts at 2021-08-05 16:54:32.127 +0800 CST, GC safe point is 2021-08-05 17:25:38.127 +0800 CST"] #2470
Comments
Could you provide cdc log and pd log, we can check the service GC safepoint and GC safepoint from these logs @Tammyxia |
I cannot upload logs to here, you know what the reason is. Private message to you... |
This issue caused changefeed cannot sync data any more, when gc-ttl was timeout , this changefeed status became to failed. |
Notice these logs: [2021/08/05 16:55:38.172 +08:00] [INFO] [grpc_service.go:815] ["update service GC safe point"] [service-id=gc_worker] [expire-at=9223372036854775807] [safepoint=426810576241164288] [2021/08/05 16:55:38.172 +08:00] gc_worker tso=426810576241164288, system: 2021-08-05 16:45:38.127 +0800 CST |
Some ticdc owner log
From log It happens when table count is large, in this scenario 60K, and the initialize phase is slower than Suggestion, we can increase the |
Another problem is not clear, what happens between |
As a workaround, let's increase the the ttl to 1 hour to mitigate the issue. (We have tested in a cluster that captures 60k tables, it works). |
Set severity to major as it only occurs when PD is extremely slow (means it's hard to reproduce in production). |
FYI, I am working on #2512 this week. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
Pause it.
Resume it. $ tiup cdc:v4.0.14 cli changefeed resume -c cc-task-1 --pd=http://172.16.6.28:2379
Versions of the cluster
Upstream TiDB cluster version (execute
SELECT tidb_version();
in a MySQL client):TiCDC version (execute
cdc version
):The text was updated successfully, but these errors were encountered: