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

Avoid double counting read latencies for digest queries

    XMLWordPrintableJSON

    Details

    • Bug Category:
      Correctness - API / Semantic Implementation
    • Severity:
      Normal
    • Complexity:
      Low Hanging Fruit
    • Discovered By:
      Workload Replay
    • Since Version:
    • Test and Documentation Plan:
      Hide

      A distributed in-jvm test was added to make sure we don't overcount

      Show
      A distributed in-jvm test was added to make sure we don't overcount

      Description

      We are closing the UnfilteredPartitionIterator wrapped with withMetricsRecording twice when we get digest requests - closing it calls onClose and that makes the metrics update twice.

        Attachments

          Activity

            People

            • Assignee:
              marcuse Marcus Eriksson
              Reporter:
              marcuse Marcus Eriksson
              Authors:
              Marcus Eriksson
              Reviewers:
              Sam Tunnicliffe
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: