You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/10/10 06:42:01 UTC
[GitHub] [shardingsphere] lite-up opened a new issue, #15420: App hanging when working with DruidDataSource
lite-up opened a new issue, #15420:
URL: https://github.com/apache/shardingsphere/issues/15420
## Bug Report
### Which version of ShardingSphere did you use?
shardingsphere-jdbc-core-spring-boot-starter 5.0.0
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC
### Expected behavior
I'm currently using `DruidDataSource`, everything works fine.
### Actual behavior
However, if these below conditions being met:
1. `sharding-jdbc.max-connections-size-per-query > druid.maxActive`,
2. `Actual SQLs number > druid.maxActive`
and then the application will be hanging forever for waiting for the next idle `Connection`;
### Reason analyze (If you can)
1. `sharding-jdbc.max-connections-size-per-query > druid.maxActive`,
2. `Actual SQLs number > druid.maxActive`
### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
1. set `sharding-jdbc.max-connections-size-per-query > druid.maxActive`;
2. and then simply do some `xxxMapper.selectList(null)` to make a ALL-SHARDING-TABLES-Scanning.
### Example codes for reproduce this issue (such as a github link).
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] terrymanu commented on issue #15420: App hanging when working with DruidDataSource
Posted by GitBox <gi...@apache.org>.
terrymanu commented on issue #15420:
URL: https://github.com/apache/shardingsphere/issues/15420#issuecomment-1182095108
Does anyone want to investigate it?
--
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
[GitHub] [shardingsphere] github-actions[bot] commented on issue #15420: App hanging when working with DruidDataSource
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #15420:
URL: https://github.com/apache/shardingsphere/issues/15420#issuecomment-1272350373
Hello , this issue has not received a reply for several days.
This issue is supposed to be closed.
--
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
[GitHub] [shardingsphere] TeslaCN commented on issue #15420: App hanging when working with DruidDataSource
Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #15420:
URL: https://github.com/apache/shardingsphere/issues/15420#issuecomment-1365713957
I think this is expected. `max-connections-size-per-query` should not greater than available in connection pool.
--
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
[GitHub] [shardingsphere] TeslaCN closed issue #15420: App hanging when working with DruidDataSource
Posted by GitBox <gi...@apache.org>.
TeslaCN closed issue #15420: App hanging when working with DruidDataSource
URL: https://github.com/apache/shardingsphere/issues/15420
--
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
[GitHub] [shardingsphere] github-actions[bot] closed issue #15420: App hanging when working with DruidDataSource
Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #15420: App hanging when working with DruidDataSource
URL: https://github.com/apache/shardingsphere/issues/15420
--
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