In the current implementation, it simply ignores errors including SocketException. Worse of all, the state is totally wrong that Dart VM has to restart even if the connection is back.
Goal
Pass this kind of exception to the caller requesting a connection
Make sure the pool can work correctly without restart, after the database is back
In the current implementation, it simply ignores errors including SocketException. Worse of all, the state is totally wrong that Dart VM has to restart even if the connection is back.
Goal