捡取了几个tidb的SQL log
[2019/08/20 08:56:45.952 +08:00] [INFO] [session.go:1847] [GENERAL_LOG] [conn=19769] [user=@172.31.100.222] [schemaVersion=1290] [txnStartTS=410586281263497227]
[2019/08/20 09:50:13.072 +08:00] [INFO] [session.go:1847] [GENERAL_LOG] [conn=19769] [user=@172.31.100.222] [schemaVersion=1290] [txnStartTS=410586281263497227] WHERE ( member_id = 364091 and type
= ‘T_ES’ ) limit 1"]
[2019/08/20 09:50:13.073 +08:00] [WARN] [conn.go:666] [“dispatch error”] [conn=19769] [connInfo=“id:19769, addr:172.31.100.222:43008 status:1, collation:utf8_general_ci”] [sql=" WHERE ( member_id = 364091 and type
= ‘T_ES’ ) limit 1"] [err="[tikv:9006]GC life time is shorter than transaction duration, transaction starts at 2019-08-20 08:52:44.439 +0800 CST, GC safe point is 2019-08-20 08:53:10.589 +0800 CST"]
使用的开发语言java,框架mybatis springBoot1.5