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

Improve zero-copy-streaming containment check by using file sections

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

    Details

      Description

      Currently zero copy streaming is only enabled for leveled-compaction strategy and it checks if all keys in the sstables are included in the transferred ranges.

      This is very inefficient. The containment check can be improved by checking if transferred sections (the transferred file positions) cover entire sstable.

      I also enabled ZCS for all compaction strategies since the new containment check is very fast..

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              jasonstack Zhao Yang Assign to me
              Reporter:
              jasonstack Zhao Yang
              Authors:
              Zhao Yang
              Reviewers:
              Dinesh Joshi, T Jake Luciani

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment