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

Build info should be provided by the Server Model

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None

    Description

      A call to Server.Model(), which returns the most recent heartbeat information from the server monitor, does not return the server version or build information since this commit.

      The build information is accessible in Server.monitor.conn.Model() and set in conn/conn.go, but is not accessible by users of the driver without requiring the opening of a new connection.

      A possible implementation would be to copy the version information from the monitor's conn.Model struct into the server.Model struct when returned.

      Attachments

        Activity

          People

            david.golden@mongodb.com David Golden
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: