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

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

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • 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 Tom Hobbs Assign to me
              Reporter:
              nickmbailey Nick Bailey
              Authors:
              Tom Hobbs
              Reviewers:
              Jonathan Ellis

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment