Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8815

tautological compare in ping time sanity check

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.4.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • ALL

      ... 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.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: