ticdc同步任务报错GC life time is shorter than transaction duration

为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。

  • 【TiDB 版本】:v4.0.4
  • 【问题描述】:
    1、ticdc创建同步任务到kafka,经过一段时间后任务报错:etcdserver: request timed out,任务状态为stopped;
    2、使用命令:tiup cdc cli changefeed resume --pd=http://10.20.145.188:2379 --changefeed-id=record-task3 resumme任务后,报错提示:tikv:9006]GC life time is shorter than transaction duration, transaction starts at 2020-08-11 12:11:15.18 +0800 CST, GC safe point is 2020-08-12 02:25:51.562 +0800 CST
    请问我需要如何操作才能重启任务?

若提问为性能优化、故障排查类问题,请下载脚本运行。终端输出的打印结果,请务必全选并复制粘贴上传。

可以调大gc life 的时长,需要满足事物最长的执行时长。可以搜下报错,有很多类似问题,多谢