Details
-
New Feature
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
None
Description
Currently mongo.Client.Connect and mongo.Connect start up background goroutines and don't wait for the deployment to actually be discovered. Users should use the mongo.Client.Ping method to ensure the deployment is actually discovered and available. To allow users to do this with a single method or function, add the mongo.Client.ConnectAndPing method and mongo.ConnectAndPing function.