Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-980

Add mongo.Client.ConnectAndPing and mongo.ConnectAndPing

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • CRUD
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: