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

Sampling bug in metrics-core-2.0.3.jar used by Cassandra

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.10, 2.0.1
    • Legacy/Tools
    • None
    • Low

    Description

      There is a sampling bug in the version of the metrics library we're using in Cassandra. See https://github.com/codahale/metrics/issues/421. ExponentiallyDecayingSample is used by the Timer's histogram that is used in stress tool, and according to brandon.williams it is also in a few other places like the dynamic snitch. The statistical theory involved in this bug goes over my head so i'm not sure if this would bug would meaningfully affect its usage by Cassandra. One of the comments on the bug mentions that it affects slow sampling rates (10 samples/min was the example given). We're currently distributing metrics-core-2.0.3.jar and according to the release nodes, this bug is fixed in 2.1.3: http://metrics.codahale.com/about/release-notes/#v2-1-3-aug-06-2012

      Attachments

        1. 5947-1.2.txt
          31 kB
          Yuki Morishita
        2. Screen Shot 2013-09-10 at 2.23.11 PM.png
          802 kB
          Ravi Prasad

        Activity

          People

            yukim Yuki Morishita
            jblangston@datastax.com J.B. Langston
            Yuki Morishita
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: