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

SASI BounceIntersectionIterator should perform skipTo() using biggest token value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Triage Needed
    • Normal
    • Resolution: Unresolved
    • 5.x
    • Feature/SASI
    • None
    • All
    • None

    Description

      In BounceIntersectionIterator, it polls the range iterator which has the smallest current token from priority queue and uses the smallest token to perform skipTo() on other range iterators where their current tokens are equal to or greater than the smallest token... In this case, "skipTo()" works similarly to "next()" and no on-disk leaves will be skipped in TokenTreeIterator#performSkipTo().

      I think BounceIntersectionIterator should poll the range iterator with biggest current token and use it to perform skipTo() to improve performance.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jasonstack Zhao Yang
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: