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

tautological compare in ping time sanity check

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.4.0-rc2
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: