You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ariel Weisberg (JIRA)" <ji...@apache.org> on 2018/09/05 22:01:00 UTC

[jira] [Created] (CASSANDRA-14696) DecayingEstimatedHistogramReservoir.EstimatedHistogramReservoirSnapshot returns wrong value for size() and incorrectly calculates count

Ariel Weisberg created CASSANDRA-14696:
------------------------------------------

             Summary:  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
             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