You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2018/07/31 04:24:17 UTC

[GitHub] xiongshiyan opened a new issue #6079: multi datasource occurs 'connection holder is null'

xiongshiyan opened a new issue #6079: multi datasource occurs 'connection holder is null'
URL: https://github.com/apache/incubator-druid/issues/6079
 
 
   it occurs a error 'connection holder is null' after waiting a lot of time, but it wouldn't occur in single datasource with the same configration.
   
   with the config:
   ````
   spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
   spring.datasource.initialSize=10
   spring.datasource.minIdle=20
   spring.datasource.maxActive=300
   spring.datasource.maxWait=30000
   spring.datasource.timeBetweenEvictionRunsMillis=30000
   spring.datasource.minEvictableIdleTimeMillis=30000
   spring.datasource.validationQuery=SELECT 1 FROM DUAL
   spring.datasource.testWhileIdle=true
   spring.datasource.testOnBorrow=true
   spring.datasource.testOnReturn=false
   spring.datasource.poolPreparedStatements=true
   spring.datasource.maxPoolPreparedStatementPerConnectionSize=20
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org