You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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-wait socket
remove iptable rule
Expected behavior/code
Possible Solution
I think there should be a similar function to connection timeout or query timeout
Bug Report
Versions
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
fin-waitsocketExpected behavior/code
Possible Solution
Additional context
RSTpacket failures redis/lettuce#2082