-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
Bug Report
Versions
- Driver: 8.0.31
- Database: mysql 8.0.28
- Java: 17
- OS: rocky8
Current Behavior
-
If the DB hangs for some reason, the application cannot receive rst and the connections will remain in the established state. I guess if there are max size of connections in the pool and a new acquire connection occurs, the request will fail because the connection cannot be newly created.
-
-
Steps to reproduce
- use long sleep statement
- packet drop use iptable on mysql server
- restart mysql and wait close
fin-waitsocket - remove iptable rule
Expected behavior/code
Possible Solution
- I think there should be a similar function to connection timeout or query timeout
Additional context
- It seems like a similar case to the issues below
Metadata
Metadata
Assignees
Labels
No labels