You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Robert Coli (JIRA)" <ji...@apache.org> on 2010/06/12 04:53:13 UTC

[jira] Created: (CASSANDRA-1184) clarify the units of sleep in user-visible messages within StorageService

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

                 Key: CASSANDRA-1184
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1184
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
    Affects Versions: 0.6.1
            Reporter: Robert Coli
            Priority: Trivial
             Fix For: 0.6.3
         Attachments: specify.units.for.sleep.patch

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.. :)



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1184) clarify the units of sleep in user-visible messages within StorageService

Posted by "Robert Coli (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Coli updated CASSANDRA-1184:
-----------------------------------

    Fix Version/s:     (was: 0.6.3)

> clarify the units of sleep in user-visible messages within StorageService
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1184
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1184
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.6.1
>            Reporter: Robert Coli
>            Priority: Trivial
>         Attachments: specify.units.for.sleep.patch
>
>
> 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.. :)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1184) clarify the units of sleep in user-visible messages within StorageService

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-1184:
--------------------------------------

        Fix Version/s: 0.6.3
    Affects Version/s:     (was: 0.6.1)

> clarify the units of sleep in user-visible messages within StorageService
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1184
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1184
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Robert Coli
>            Priority: Trivial
>             Fix For: 0.6.3
>
>         Attachments: specify.units.for.sleep.patch
>
>
> 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.. :)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1184) clarify the units of sleep in user-visible messages within StorageService

Posted by "Robert Coli (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Coli updated CASSANDRA-1184:
-----------------------------------

    Attachment: specify.units.for.sleep.patch

> clarify the units of sleep in user-visible messages within StorageService
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1184
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1184
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.6.1
>            Reporter: Robert Coli
>            Priority: Trivial
>         Attachments: specify.units.for.sleep.patch
>
>
> 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.. :)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.