In older versions there were MongoClientOptions available that managed reconnections in case of an error:
-
autoReconnect- Reconnect on error (default istrue)
And other interesting options such as: reconnectTries , reconnectInterval
How should one handle reconnections in version 4.4?