cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-4213) DynamicEndpointSnitch calculates score incorrectly
Date Thu, 03 May 2012 03:01:54 GMT
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

        

Mime
View raw message