[GODRIVER-6] Don't execute buildInfo command on every heartbeat Created: 20/Apr/17 Updated: 28/Oct/23 Resolved: 29/Sep/17 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Server Discovery and Monitoring |
| Affects Version/s: | None |
| Fix Version/s: | 0.0.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
There's no need to execute buildInfo on every heartbeat, since the server version can't change without the socket being closed. Not a big deal perf-wise but it does spam the mongodb server logs. |
| Comments |
| Comment by Samuel Rossi (Inactive) [ 29/Sep/17 ] |
|
Git commit: https://github.com/10gen/mongo-go-driver/commit/78f6ee03d3a6f0aba7877e434c3bd47e49c361f9 |