Cassandra
  1. Cassandra
  2. CASSANDRA-4213

DynamicEndpointSnitch calculates score incorrectly

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Fix Version/s: 1.2.0 beta 1
    • Component/s: Core
    • Labels:
      None

      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

        Activity

          People

          • Assignee:
            Dave Brosius
            Reporter:
            Dave Brosius
            Reviewer:
            Brandon Williams
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development