cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ariel Weisberg (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-14696) DecayingEstimatedHistogramReservoir.EstimatedHistogramReservoirSnapshot returns wrong value for size() and incorrectly calculates count
Date Fri, 07 Sep 2018 19:15:00 GMT

     [ 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message