【概述】 场景 + 问题概述
tispark 写入tikv报错,read tso is smaller than tidb gc safe point
【现象】 业务和数据库现象
写入失败
【 TiDB 版本】
tidb:4.0.13
tispark:2.3.14
【附件】 相关日志及监控(https://metricstool.pingcap.com/)
Caused by: com.pingcap.tikv.exception.SelectException: query id: 793756d8-a188-41e0-ab7a-c33b70f4f45e, read tso: 426219066472267783 is smaller than tidb gc safe point: 426219164343730176: (while creating InputStreams from storage db_691.t_102006, table_id: 102006)
at com.pingcap.tikv.region.RegionStoreClient.doCoprocessor(RegionStoreClient.java:745)
at com.pingcap.tikv.region.RegionStoreClient.handleCopResponse(RegionStoreClient.java:716)
at com.pingcap.tikv.region.RegionStoreClient.coprocess(RegionStoreClient.java:660)
at com.pingcap.tikv.operation.iterator.DAGIterator.process(DAGIterator.java:219)
… 7 more