[
https://issues.apache.org/jira/browse/CASSANDRA-14696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ariel Weisberg updated CASSANDRA-14696:
---------------------------------------
Resolution: Fixed
Status: Resolved (was: Ready to Commit)
> DecayingEstimatedHistogramReservoir.EstimatedHistogramReservoirSnapshot
> returns wrong value for size() and incorrectly calculates count
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-14696
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14696
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Reporter: Ariel Weisberg
> Assignee: Ariel Weisberg
> Priority: Major
> Labels: 4.0-pre-rc-bugs
> Fix For: 4.0
>
>
> It appears to return the wrong value for no reason. There isn't a single
> instance in the code base where we use size. There is an internal count that
> is calculated, but it is calculated over an empty array.
> Fix both of these bugs and then use the size to only populate read and write
> latency values used for speculation when there are actual samples being used.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]