Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-4213

DynamicEndpointSnitch calculates score incorrectly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.0 beta 1
    • None
    • None
    • Low

    Description

      updateScore does double = long/long math which calculates the score wrong 1/3 becomes 0.0 not 0.3333

      need 1 to be cast to double

      Attachments

        1. 4213_use_double_math.diff
          0.8 kB
          Dave Brosius

        Activity

          People

            dbrosius David Brosius
            dbrosius@apache.org Dave Brosius
            David Brosius
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: