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
Once database connections fail, due to a database being restarted or going down, these invalid connections always return to the connection pool, preventing a DB connection from being re-established when the DB comes back online.
Steps to Reproduce
Start a local PostgreSQL database using default settings, e.g. blank username/password and database named "postgres".
Summary
Once database connections fail, due to a database being restarted or going down, these invalid connections always return to the connection pool, preventing a DB connection from being re-established when the DB comes back online.
Steps to Reproduce
Expected Result
The DB connection will be re-established, and the program should again print "Testing connection...".
Actual Result
The program continues to print exceptions and never recovers.
Additional Notes
If
DataSourceImpl
is used instead ofConnectionPoolDataSourceImpl
, the program recovers as expected.The text was updated successfully, but these errors were encountered: