You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "ZhaoYang (Jira)" <ji...@apache.org> on 2020/05/15 05:50:00 UTC

[jira] [Created] (CASSANDRA-15815) SASI BounceIntersectionIterator should perform skipTo() using biggest token value

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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org