Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: ticdc 不推进 5.4.1版本,我们是从5,2 升级到5.4.1的版本依旧有问题
There are warnings in the logs
Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: ticdc 不推进 5.4.1版本,我们是从5,2 升级到5.4.1的版本依旧有问题
There are warnings in the logs
Is there an unresolved major issue? I saw a post earlier saying that TiCDC got stuck due to batch deletions from the source.
We also encountered this problem, and we don’t dare to use TiCDC anymore.
There is no stable pumper and drainer, even the officially recommended ones. I have already upgraded to 5.4.1.
Please provide the TiCDC, TiKV, and TiDB monitoring data for 30 minutes before and after the issue occurred.
There are also performance peaks, which should be caused by some background tasks or nighttime tasks.
We have currently upgraded to 5.4.1 and still have this issue.
You can export the TiDB, TiKV-Details, and TiCDC monitoring snapshots for this period and take a look:
It looks like it automatically recovered around 11 o’clock?
Yes, after a few hours, the CDC checkpoint became normal and the task was no longer delayed.
The export is the data from 2022-07-08 04-05. Downloads.zip (2.0 MB)
It is estimated that the only way is to optimize the SQL as much as possible and break down large transactions into smaller ones.
Monitoring data has been submitted. Please help analyze it.
Based on these two screenshots, it is speculated that one of the following situations may have caused the issue:
You need to analyze the specific upstream business context. If it is one of the first two cases, you need to adjust the business write mode and try to use small transactions for writing. If it is the last case, more monitoring and logs are needed for further analysis.
There are indeed large transactions at night, but this is a business requirement for nighttime operations. TiCDC mentioned that this issue was resolved in a certain version, but now it seems that upgrading to the latest version 5 still doesn’t work. Drainer and Pumper currently do not have this issue.
The CDC in version 6.2 provides a large transaction splitting feature. If atomicity of transactions is not required, you can consider using CDC in version 6.2 and enable the transaction splitting feature, which can effectively solve the above issues.
This topic was automatically closed 1 minute after the last reply. No new replies are allowed.