log Compaction Active tasks in StatusLogger instead of n/a
----------------------------------------------------------

                 Key: CASSANDRA-3703
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3703
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Jackson Chung
            Priority: Minor


currently StatusLogger log:
{noformat}
logger.info(String.format("%-25s%10s%10s",
                                  "CompactionManager", "n/a", 
CompactionManager.instance.getPendingTasks()));
{noformat}

It'd be great if it could actually log the number of active tasks being 
processed. Without looking into the code, I thought there was no compaction 
running when reading the log.


{code: title=CompactionManager.java}
    public int getActiveCompactions()
    {
        return CompactionExecutor.compactions.size();
    }
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to