You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Joseph Lynch (JIRA)" <ji...@apache.org> on 2018/09/28 18:50:00 UTC

[jira] [Created] (CASSANDRA-14796) Provide a tool which allows users to force manual compaction by ks.table and partition key

Joseph Lynch created CASSANDRA-14796:
----------------------------------------

             Summary: Provide a tool which allows users to force manual compaction by ks.table and partition key
                 Key: CASSANDRA-14796
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14796
             Project: Cassandra
          Issue Type: Wish
            Reporter: Joseph Lynch


It's somewhat common to have a "hot partition" or otherwise "bad partition" that is causing neighbors to fail. In addition to CASSANDRA-12106, I think it would be really useful to have an optional partition key argument to {{nodetool compact}} (similar to {{getendpoints}}) which would determine which sstables a partition resides in (similar to {{getsstables}}) and then run manual compaction on just those sstables.

I know at Netflix a common way that we "mitigate" these bad partitions is to delete them, but if the partition is really large it would be nice to be able to delete them _and_ then force compaction of sstables containing them. Obviously {{gc_grace}} get's in the way but it seems like a cheap/useful tool either way.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org