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

clarify the units of sleep in user-visible messages within StorageService

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.6.3
    • None
    • None

    Description

      In src/java/org/apache/cassandra/service/StorageService.java, the application sets JMX metric states such as the following :

      • setMode("Joining: sleeping " + RING_DELAY + " for pending range setup", true);

      RING_DELAY is in milliseconds, but the units is omitted. The attached patch specifies units in the three places similar messages are set, like :

      + setMode("Joining: sleeping " + RING_DELAY + " ms for pending range setup", true);

      So now people will know that the application is sleeping for 30000 ms and not 30000, say.. days..

      Attachments

        1. specify.units.for.sleep.patch
          2 kB
          Robert Coli

        Activity

          People

            rcoli Robert Coli
            rcoli Robert Coli
            Robert Coli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: