You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tyler Hobbs (JIRA)" <ji...@apache.org> on 2013/08/07 22:01:49 UTC

[jira] [Updated] (CASSANDRA-5722) Cleanup should skip sstables that don't contain data outside a nodes ranges

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

Tyler Hobbs updated CASSANDRA-5722:
-----------------------------------

    Attachment: 5722-cassandra-2.0.patch

Attached file {{5722-cassandra-2.0.patch}} (and [branch|https://github.com/thobbs/cassandra/tree/CASSANDRA-5722-2.0]) is rebased against 2.0. It includes the cleanup from your {{5722}} branch and an additional bugfix that was caught by a 2.0 test.
                
> Cleanup should skip sstables that don't contain data outside a nodes ranges
> ---------------------------------------------------------------------------
>
>                 Key: CASSANDRA-5722
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5722
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Nick Bailey
>            Assignee: Tyler Hobbs
>             Fix For: 2.0.1
>
>         Attachments: 0001-Skip-cleanup-when-unneeded.patch, 5722-cassandra-2.0.patch
>
>
> Right now cleanup is optimized to simply delete sstables that *only* contain data that doesn't belong on the node, for all other sstables though, it will read them, check each row, and write out new sstables.
> Cleanup could be optimized to look at an sstable and determine that all data within the sstable does belong on a node, and therefore skip re-writing that sstable. This would make cleanup essentially a noop in the case where all data on a node belongs on that node.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira