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

DecayingEstimatedHistogramReservoir.EstimatedHistogramReservoirSnapshot returns wrong value for size() and incorrectly calculates count

    XMLWordPrintableJSON

Details

    • Normal

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              aweisberg Ariel Weisberg
              aweisberg Ariel Weisberg
              Ariel Weisberg
              Chris Lohfink
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: