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

LatencyMetrics can return infinity

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 1.2.17, 2.0.7, 2.1 beta2
    • Component/s: None
    • Labels:
      None
    • Severity:
      Normal

      Description

      There is a race condition when updating the recentLatency metrics exposed from LatencyMetrics.

      Attaching a patch with a test that exposes the issue and a potential fix.

        Attachments

        1. 6920-infinity-metrics.patch
          3 kB
          Nick Bailey
        2. 6920-cassandra-2.0.patch
          3 kB
          Lyuben Todorov
        3. 6920-cassandra-1.2.patch
          3 kB
          Lyuben Todorov

          Activity

            People

            • Assignee:
              benedict Benedict Elliott Smith
              Reporter:
              nickmbailey Nick Bailey
              Authors:
              Benedict Elliott Smith
              Reviewers:
              Brandon Williams
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: