Clean up and document EstimatedHistogram
----------------------------------------

                 Key: CASSANDRA-2232
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2232
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Jonathan Ellis
            Assignee: Jonathan Ellis
            Priority: Minor
             Fix For: 0.7.3


EstimatedHistogram treats adding value n as adding a value infinitesimally 
greater than n.  This barely made sense for the original goal of latency 
tracking but is clearly broken for inherently integral data like 
sstables-per-read.

Also, median() is broken, but even a non-broken median() would not be correct 
to use in mean row size reporting which is its only caller.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to