➜ ~ mycli stage
(9006, 'GC life time is shorter than transaction duration, transaction starts at 2024-06-05 03:50:55.675 +0800 CST, GC safe point is 2024-07-02 14:03:37.956 +0800 CST')
➜ ~
之后再登录不出现问题
TiDB 5.7.25
mycli 1.26.1
Home: http://mycli.net
Bug tracker: https://github.com/dbcli/mycli/issues
Thanks to the contributor - bitkeen
stage TiDB root@10.25.6.52:test>select * from mysql.tidb;
[2024/07/02 15:39:51.198 +08:00] [WARN] [session.go:2036] ["failed to load global variables"] [conn=82340372] [error="[tikv:9006]GC life time is shorter than transaction duration, transaction starts at 2024-06-16 02:24:18.606 +0800 CST, GC safe point is 2024-07-02 15:24:37.956 +0800 CST"]
[2024/07/02 15:39:51.198 +08:00] [WARN] [conn.go:630] ["open new session failure"] [conn=82340372] [error="[tikv:9006]GC life time is shorter than transaction duration, transaction starts at 2024-06-16 02:24:18.606 +0800 CST, GC safe point is 2024-07-02 15:24:37.956 +0800 CST"]
[2024/07/02 15:39:51.248 +08:00] [WARN] [session.go:2036] ["failed to load global variables"] [conn=82340373] [error="[tikv:9006]GC life time is shorter than transaction duration, transaction starts at 2024-06-16 02:24:03.106 +0800 CST, GC safe point is 2024-07-02 15:24:37.956 +0800 CST"]
[2024/07/02 15:39:51.248 +08:00] [WARN] [conn.go:630] ["open new session failure"] [conn=82340373] [error="[tikv:9006]GC life time is shorter than transaction duration, transaction starts at 2024-06-16 02:24:03.106 +0800 CST, GC safe point is 2024-07-02 15:24:37.956 +0800 CST"]
[2024/07/02 15:39:52.182 +08:00] [ERROR] [domain.go:931] ["update bindinfo failed"] [error="[tikv:9006]GC life time is shorter than transaction duration, transaction starts at 2024-06-16 02:23:47.606 +0800 CST, GC safe point is 2024-07-02 15:24:37.956 +0800 CST"]
[2024/07/02 15:39:55.182 +08:00] [ERROR] [domain.go:931] ["update bindinfo failed"] [error="[tikv:9006]GC life time is shorter than transaction duration, transaction starts at 2024-06-16 02:23:16.606 +0800 CST, GC safe point is 2024-07-02 15:24:37.956 +0800 CST"]
[2024/07/02 15:40:01.181 +08:00] [ERROR] [domain.go:931] ["update bindinfo failed"] [error="[tikv:9006]GC life time is shorter than transaction duration, transaction starts at 2024-06-16 02:24:34.106 +0800 CST, GC safe point is 2024-07-02 15:24:37.956 +0800 CST"]
[2024/07/02 15:40:04.186 +08:00] [ERROR] [domain.go:931] ["update bindinfo failed"] [error="[tikv:9006]GC life time is shorter than transaction duration, transaction starts at 2024-06-16 02:24:49.556 +0800 CST, GC safe point is 2024-07-02 15:24:37.956 +0800 CST"]