Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 关于ticdc 参数gc-ttl 与tidb集群的gc 问题

[TiDB Usage Environment] Production Environment
[TiDB Version] 4.0.13
[Encountered Problem: Problem Phenomenon and Impact]
Can anyone explain the relationship between ticdc’s gc-ttl and the cluster’s gc time?
My goal is to ensure that even if cdc is interrupted for a long time, it can still catch up. Should I just set gc-ttl for this? Do I also need to set the cluster’s gc time to a long duration?