Open jyp85 opened 2 years ago
When exceeding the connection acquisition retries, you see Connection validation failed
errors. When you configure a background eviction interval, you should be able to eliminate this type of failure.
I am experiencing the same issue. Is any workaround for this?
https://github.com/r2dbc/r2dbc-pool/blob/3ee034a65e888e0e3fcb330777afc3715ced6797/src/main/java/io/r2dbc/pool/PooledConnection.java#L66 seems to be hard-set to use LOCAL validation regardless of configuration options. Should allow for REMOTE validation shouldn't it?
@mp911de
Bug Report
Versions
Current Behavior
sometimes i got exceptioin as below. MySql's wait_timeout value is 600s. so the connection which not used over 10 minutes closed by remote. after that application generate exception. how can i fix it?? (is there any way to autoreconnect? or can i retain all connection?)
my configuration
Table schema
Input Code
```sql -- your SQL here; ```Steps to reproduce
Input Code
```java // your code here; ```Expected behavior/code
Possible Solution
Additional context