[SERVER-16440] replica set monitor can display negative ping times Created: 05/Dec/14 Updated: 03/Jan/19 Resolved: 05/Dec/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Client |
| Affects Version/s: | None |
| Fix Version/s: | 2.8.0-rc3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Eric Milkie | Assignee: | Eric Milkie |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
We're casting an int64 to an int32, which would be fine most of the time. Unfortunately, we're using int64_t::max() to represent "unknown" ping time, which can occur with some frequency. |
| Comments |
| Comment by Githook User [ 05/Dec/14 ] | ||||||||||||||||
|
Author: {u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: | ||||||||||||||||
| Comment by Eric Milkie [ 05/Dec/14 ] | ||||||||||||||||
|
Before fix:
After:
|