ZhaoYang created CASSANDRA-15815:
------------------------------------

             Summary: SASI BounceIntersectionIterator should perform skipTo() 
using biggest token value
                 Key: CASSANDRA-15815
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15815
             Project: Cassandra
          Issue Type: Bug
          Components: Feature/SASI
            Reporter: ZhaoYang


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to