mirror of https://github.com/apache/cassandra
Log active compactions in StatusLogger
patch by jbellis; reviewed by slebresne for CASSANDRA-3703
This commit is contained in:
parent
b663210576
commit
68d4e28d94
|
|
@ -1,4 +1,5 @@
|
|||
1.0.8
|
||||
* Log active compactions in StatusLogger (CASSANDRA-3703)
|
||||
* Compute more accurate compaction score per level (CASSANDRA-3790)
|
||||
* Return InvalidRequest when using a keyspace that doesn't exist
|
||||
(CASSANDRA-3764)
|
||||
|
|
|
|||
|
|
@ -66,8 +66,9 @@ public class StatusLogger
|
|||
poolName, threadPoolProxy.getActiveCount(), threadPoolProxy.getPendingTasks(), threadPoolProxy.getCurrentlyBlockedTasks()));
|
||||
}
|
||||
// one offs
|
||||
CompactionManager cm = CompactionManager.instance;
|
||||
logger.info(String.format("%-25s%10s%10s",
|
||||
"CompactionManager", "n/a", CompactionManager.instance.getPendingTasks()));
|
||||
"CompactionManager", cm.getActiveCompactions(), cm.getPendingTasks()));
|
||||
int pendingCommands = 0;
|
||||
for (int n : MessagingService.instance().getCommandPendingTasks().values())
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue