Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-2232

Clean up and document EstimatedHistogram

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7.3
    • None
    • None

    Description

      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.

      Attachments

        1. 2232.txt
          12 kB
          Jonathan Ellis

        Activity

          People

            jbellis Jonathan Ellis
            jbellis Jonathan Ellis
            Jonathan Ellis
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified