You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Taiyuan Zhang (JIRA)" <ji...@apache.org> on 2015/12/11 05:37:11 UTC

[jira] [Updated] (CASSANDRA-10718) Group pending compactions based on table

     [ https://issues.apache.org/jira/browse/CASSANDRA-10718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Taiyuan Zhang updated CASSANDRA-10718:
--------------------------------------
    Attachment: 10718-3.x.txt

I added a patch for this ticket. I followed @Marcus 's advice and implement a new jmx method that returns a nested map, grouping the number of compaction tasks by keyspace then by table name.

> Group pending compactions based on table
> ----------------------------------------
>
>                 Key: CASSANDRA-10718
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10718
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Marcus Eriksson
>            Assignee: Tushar Agrawal
>            Priority: Minor
>              Labels: lhf
>             Fix For: 3.x
>
>         Attachments: 10718-3.x.txt
>
>
> Currently we only give a global number on how many compactions are pending, we should group this on a per-table basis, example:
> {code}
> $ nodetool compactionstats
> pending tasks:
> - keyspace1.standard1: 10
> - other_ks.table: 2
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)