Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-5722

Cleanup should skip sstables that don't contain data outside a nodes ranges

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.0.1
    • None
    • None

    Description

      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.

      Attachments

        1. 5722-cassandra-2.0.patch
          14 kB
          Tom Hobbs
        2. 0001-Skip-cleanup-when-unneeded.patch
          12 kB
          Tom Hobbs

        Activity

          People

            thobbs Tom Hobbs
            nickmbailey Nick Bailey
            Tom Hobbs
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: