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

LatencyMetrics can return infinity

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.2.17, 2.0.7, 2.1 beta2
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: