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

tautological compare in ping time sanity check

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0-rc2
    • Component/s: None
    • Labels:
      None
    • Operating System:
      ALL

      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.

        Attachments

          Activity

            People

            Assignee:
            acm Andrew Morrow
            Reporter:
            greg_10gen Greg Studer
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: