modules/plugins/rhq-storage/src/main/java/org/rhq/plugins/storage/StorageNodeComponent.java
| 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 870091c34662c19841f8ce40914498ab7cfe4258
Author: John Sanda <jsanda(a)redhat.com>
Date: Mon Jul 1 15:18:21 2013 -0400
add some more detail in reporting repair results
diff --git
a/modules/plugins/rhq-storage/src/main/java/org/rhq/plugins/storage/StorageNodeComponent.java
b/modules/plugins/rhq-storage/src/main/java/org/rhq/plugins/storage/StorageNodeComponent.java
index 5722e37..cc34fe3 100644
---
a/modules/plugins/rhq-storage/src/main/java/org/rhq/plugins/storage/StorageNodeComponent.java
+++
b/modules/plugins/rhq-storage/src/main/java/org/rhq/plugins/storage/StorageNodeComponent.java
@@ -157,15 +157,16 @@ public class StorageNodeComponent extends CassandraNodeComponent
implements Oper
result.operation = "repair " + keyspace + " keyspace";
try {
if (log.isDebugEnabled()) {
- log.debug("Running repair on " + keyspace + "
keyspace");
+ log.debug("Running primary range repair on " + keyspace +
" keyspace");
}
long start = System.currentTimeMillis();
keyspaceService.repairPrimaryRange(keyspace);
long end = System.currentTimeMillis();
if (log.isDebugEnabled()) {
- log.debug("Finsihed repair on " + keyspace + " keyspace in
" + (end - start) + " ms");
+ log.debug("Finsihed primary range repair on " + keyspace +
" keyspace in " + (end - start) + " ms");
}
result.succeeded = true;
+ result.details = "Completed repair operation in " + (end - start) +
" ms.";
} catch (Exception e) {
log.error("An error occurred while running repair on " + keyspace,
e);
Throwable rootCause = ThrowableUtil.getRootCause(e);
Show replies by date