[
https://issues.apache.org/jira/browse/CASSANDRA-4213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13268450#comment-13268450
]
Jonathan Ellis commented on CASSANDRA-4213:
-------------------------------------------
Any reason not to put this in 1.0 and 1.1 branches?
> DynamicEndpointSnitch calculates score incorrectly
> --------------------------------------------------
>
> Key: CASSANDRA-4213
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4213
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Reporter: Dave Brosius
> Assignee: Brandon Williams
> Priority: Trivial
> Fix For: 1.2
>
> Attachments: 4213_use_double_math.diff
>
>
> 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