[
https://issues.apache.org/jira/browse/CASSANDRA-4213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Ellis updated CASSANDRA-4213:
--------------------------------------
Affects Version/s: 1.2
ah, got it. marking affects: 1.2
> 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.2
> 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