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

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

    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

              jasonstack Zhao Yang
              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: