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
When multiple hosts are configured, currently it throws if only one is not available. This is wrong. It should only throw network related errors when all return an error and not a single needed host is available.
When multiple hosts are configured, currently it throws if only one is not available. This is wrong. It should only throw network related errors when all return an error and not a single needed host is available.
c5eda3d50b35f2b8ab5e868861dc/packages/mongo/src/client/connection.ts#L77
waitForAllConnectionsToConnect
should not throw but just returns all catched errors.ensureHostsConnected
should only throw whenthrow=true
and all hosts are down.getConnection => ensureHostsConnected
should catch the errors and throw only when no valid connection for the request can be found.The text was updated successfully, but these errors were encountered: