[ 
https://issues.apache.org/jira/browse/CASSANDRA-15815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ZhaoYang updated CASSANDRA-15815:
---------------------------------
    Fix Version/s: 4.x

> 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
>            Priority: Normal
>             Fix For: 4.x
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to