MyCATApache/Mycat-Server

strictTxIsolation=true 不走事务的sql异常关闭连接

kleinla opened this issue · 1 comments

1、bug描述
server.xml配置strictTxIsolation=true和 idleTimeout=30000 ,接口持续查询30s后出现报错:No operations allowed after connection closed. con:JDBCConnection

2、版本号(非常重要)
mycat: v 1.6.7.5
数据库:5.7.mysql_aurora.2.09.2
3、相关表的配置信息
schema.xml (mysql的连接驱动是JDBC)
rule.xml (无)
server.xml
true
30000

4、操作步骤

  1. 单查询接口压测5分钟
  2. 30秒后出现异常

5、期望结果
链接重新连接
6、实际结果
No operations allowed after connection closed. con:JDBCConnection

用1.6.7.6试下看看,好像用这个版本不会