Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: ticdc同步任务state为“failed”,code是“CDC:ErrGCTTLExceeded”,出现这种情况的原因是什么呢?
Is this issue occurring because there hasn’t been any data change for a long time?
Refer to this: TiCDC 常见问题解答 | PingCAP 文档中心
The task has an issue and has stopped for more than the gc ttl setting of 24 hours.
Okay, I will take a closer look.
After reading this, I understand that the condition for a failure is a stall exceeding the default 24 hours. So if there is no data change within 24 hours, does that also count as a task stall?
The main method is to check through checkpoint-ts. According to tests, even if there are no transaction changes, checkpoint-ts is still constantly changing. This issue only occurs when an error is encountered. However, you can appropriately adjust the gc ttl value to avoid it.
Confirmed, even if there are no transaction changes, it is still fine after 24 hours.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.