tidb v5.1.1
使用jdbc 5.1.48
连接方式是连接池,tidb没有重启,但是发生应用端连接断开的情况。
有没有大佬遇到过这种情况?
我看到默认探活时间有3600000ms
https://docs.pingcap.com/zh/tidb/stable/java-app-best-practices#探活配置
我现在应用端报错:
[DubboServerHandler-10.233.126.141:20880-thread-93] ERROR com.alibaba.druid.pool.DruidDataSource.handleFatalError(1777) - discard connection
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet successfully received from the server was 49,786 milliseconds ago. The last packet sent successfully to the server was 25 milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
49,786ms之后就断开连接了,远远小于探活时间。