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

JmxHistogram#getRecentValues() is not thread-safe

    XMLWordPrintableJSON

Details

    Description

      Published JmxHistogram instances do not protect their “last” field. This isn’t a hot path, and there is a multi-part calculation based on it in getRecentValues(), so we should probably just synchronize that method.

      Attachments

        Issue Links

          Activity

            People

              maedhroz Caleb Rackliffe
              maedhroz Caleb Rackliffe
              Caleb Rackliffe
              Brandon Williams, Yifan Cai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: