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

Don't allocate unneeded MergeIterator in OnDiskToken#iterator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Normal
    • Resolution: Unresolved
    • 5.x
    • Feature/SASI
    • None
    • Performance
    • Low Hanging Fruit
    • All
    • None
    • Hide

      existing test suite

      Show
      existing test suite

    Description

      When reviewing CASSANDRA-15392 it became apparent that the MergeIterator allocated by OnDiskToken#iterator is rarely necessary and so we should avoid allocating one when not needed and skip the MergeIterator pool when needed because its unlikely to be sized correctly.

      Attachments

        Issue Links

          Activity

            People

              bdeggleston Blake Eggleston
              jwest Jordan West
              Blake Eggleston
              Benjamin Lerer, Berenguer Blasi
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: