error code [8229]; TTL manager has timed out, pessimistic locks may expire, please commit or rollback this transaction; nested exception is java.sql.SQLException: TTL manager has timed out, pessimistic locks may ex


这是锁的最大的时间,不是事务的

配置示例在这


https://docs.pingcap.com/zh/tidb/stable/troubleshoot-lock-conflicts#ttl-manager-has-timed-out