RP.describeOwnership() does some bad math
-----------------------------------------
Key: CASSANDRA-2071
URL: https://issues.apache.org/jira/browse/CASSANDRA-2071
Project: Cassandra
Issue Type: Bug
Affects Versions: 0.7.0
Reporter: Jon Hermes
Assignee: Jon Hermes
Priority: Minor
If the input isn't sorted correctly for some reason, then describeOwnership()
fails to calculate the ownership %ages correctly.
Repro is 2 nodes with these tokens, you get these fractions:
49000620740128447720217646403197156812 : 0.7615167
770141183460469231731687303715884105727 : 4.2384834
423% ownership is obviously broken.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.