请教下,mydumper 出现 GC life time is shorter than transaction duration 是什么原因?

** (mydumper:354494): CRITICAL **: Could not read data from … : GC life time is shorter than transaction duration

1 个赞

原因: GC Life Time 间隔时间过短,长事务本应读到的数据可能被清理了。

受影响版本: ALL release。

可使用如下命令增加 GC Life Time:

update mysql.tidb set variable_value='30m' where variable_name='tikv_gc_life_time';

其中 30m 代表仅清理 30 分钟前的数据,这可能会额外占用一定的存储空间。

1 个赞