[GODRIVER-441] Connection Handshake should not call buildInfo Created: 31/May/18 Updated: 28/Oct/23 Resolved: 12/Jun/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Server Discovery and Monitoring |
| Affects Version/s: | 0.0.6 |
| Fix Version/s: | 0.0.7 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Roland Fong |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
The monitoring connections and default connection handshake should no longer call buildInfo. The only required information from the buildInfo is the version, which we should replace with wireVersion from isMaster. Update the command.Handshake type to no longer call buildInfo nor getLastError. Update the max staleness feature to use wireVersion instead of the server version. Remove the buildInfo related information from description.Server and remove result.BuildInfo as a parameter to description.NewServer.
|
| Comments |
| Comment by Roland Fong [ 12/Jun/18 ] |
|
https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/414473 |
| Comment by Githook User [ 12/Jun/18 ] |
|
Author: {'username': 'rfblue2', 'name': 'Roland Fong', 'email': 'rfblue2@gmail.com'}Message: Remove buildinfo from connection handshake Change-Id: I56f01cc62e5eff13bcaa1cda9a1c922ea2632f6d |
| Comment by Githook User [ 12/Jun/18 ] |
|
Author: {'username': 'rfblue2', 'name': 'Roland Fong', 'email': 'rfblue2@gmail.com'}Message: Remove buildinfo from connection handshake Change-Id: I56f01cc62e5eff13bcaa1cda9a1c922ea2632f6d |