[GODRIVER-184] Build info should be provided by the Server Model Created: 02/Jan/18 Updated: 21/Jan/18 Resolved: 21/Jan/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Server Discovery and Monitoring |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor - P4 |
| Reporter: | Louis Williams | Assignee: | David Golden |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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. |
| Comments |
| Comment by David Golden [ 21/Jan/18 ] |
|
After consideration, I'm going to close this ticket, as I don't want to commit to server build information collection in a public API. |
| Comment by David Golden [ 02/Jan/18 ] |
|
I'm not sure we want to commit to providing build information as part of the public or even private API. That's not driver standard behavior required by any spec. |