KomachiSion commented on issue #2344: why checking connection so frequently with druid? URL: https://github.com/apache/incubator-shardingsphere/issues/2344#issuecomment-490412689 OK, I find the reason for this problem. The problem caused by `spring-boot-actuator`, which will check datasource connection healthy before each invoke. You can see some detail info in method `org.springframework.boot.actuate.jdbc.DataSourceHealthIndicator.doDataSourceHealthCheck`. If you wanna to debug for this problem, you can set breakPoint in method `io.shardingsphere.shardingjdbc.jdbc.core.statement.MasterSlaveStatement.executeQuery(String sql)` and check the JVM stacks. So for ShardingSphere, it just execute a normal SQL called by spring health check. Not problems.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
