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

StorageService exposes two different objects for probability tracing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 2.2.0 beta 1
    • Component/s: None
    • Labels:
    • Severity:
      Low

      Description

      StorageServiceMBean exposes the tracing probability using two different methods:

          public void setTraceProbability(double probability);
          public double getTracingProbability();
      

      In a JMX explorer like JConsole, two objects are presented: one called TraceProbability and the other called TracingProbability. One is read-only, the other write-only; this is a bit confusing.

      It is possible to have a single object there by having the same suffix for both the getter and setter.

        Attachments

        1. cassandra-2.1-6926.txt
          3 kB
          Nitzan Volman

          Activity

            People

            • Assignee:
              nitzanv Nitzan Volman
              Reporter:
              nff Nicolas Favre-Felix
              Authors:
              Nitzan Volman
              Reviewers:
              Brandon Williams
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: