TiCDC ResolvedTs stuck for half an hour #10847
Labels
affects-7.5
affects-8.1
area/ticdc
Issues or PRs related to TiCDC.
severity/major
type/bug
The issue is confirmed as a bug.
What did you do?
Add sysbench workload in a cluster with lots of jxx tables, which leading to some create table ddls.
What did you expect to see?
ticdc works smoothly, with reasonable resolve ts and checkpoint ts
What did you see instead?
resolve ts and checkpoint ts stuck for half an hour.
Based on the log and metrics, we find it's due to the incremental scan cost too many times. And for the incremental scanning, the cpu is reach 100%.
[2024/03/25 07:50:18.403 +00:00] [INFO] [initializer.rs:545] ["cdc incremental scan uses ts filter: true"] [tables=13] [filtered_versions=41367935] [mvcc_versions=41367935] [hint_min_ts=448620924264776010] [region_id=63851] [thread_id=215]
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
):(paste TiCDC version here)
The text was updated successfully, but these errors were encountered: