[SERVER-8815] tautological compare in ping time sanity check Created: 01/Mar/13 Updated: 11/Jul/16 Resolved: 01/Mar/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.4.0-rc2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Greg Studer | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
... in cluster_client_internal.cpp::checkClusterMongoVersions() We compare an unsigned arithmetic result to zero, so it'll always be >=. This would cause strange behavior in pings from different hosts with different local time. |
| Comments |
| Comment by auto [ 01/Mar/13 ] |
|
Author: {u'date': u'2013-03-01T18:07:35Z', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}Message: |