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

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

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jasonstack Zhao Yang Assign to me
            jasonstack Zhao Yang
            Zhao Yang
            Dinesh Joshi, T Jake Luciani
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment