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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 2.0.1
    • Component/s: None
    • Labels:
      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

          Activity

            People

            • Assignee:
              thobbs Tyler Hobbs
              Reporter:
              nickmbailey Nick Bailey
              Reviewer:
              Jonathan Ellis
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: