You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "2012110325 (via GitHub)" <gi...@apache.org> on 2023/03/24 09:31:23 UTC

[GitHub] [shardingsphere] 2012110325 commented on issue #1040: sharding-jdbc&druid exception:Communications link failure

2012110325 commented on issue #1040:
URL: https://github.com/apache/shardingsphere/issues/1040#issuecomment-1482503823

   @terrymanu @maxiaoguang64  麻烦咨询下 这个问题有处理没?    程序里配置了 testWhileIdle   timeBetweenEvictionRunsMillis 其它普通的mybatis执行都没有问题.  只有引入shardingjdbc的库有 这种问题:  The last packet successfully received from the server was xxxxx milliseconds ago.            sharding-jdbc-core 3.0.0.
   链接池druid 有这条日志:     testWhileIdle true, idle millis 89, minIdle 1, poolingCount 1, timeBetweenEvictionRunsMillis 60000, lastValidIdleMillis 89, driver com.mysql.jdbc.Driver,      是sharding-jdbc 会直接设置connection的活跃时间而不实际去探活么?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org