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