Dave Brosius created CASSANDRA-4213:
---------------------------------------

             Summary: DynamicEndpointSnitch calculates score incorrectly
                 Key: CASSANDRA-4213
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4213
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0.9
            Reporter: Dave Brosius
            Priority: Trivial


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to