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

Jacek Lewandowski updated CASSANDRA-18677:
------------------------------------------
          Fix Version/s: 5.0
          Since Version: 5.0
    Source Control Link: 
https://github.com/apache/cassandra/commit/e9198d6a660c96c21fe1c5bf0bbf19fbfc619189
  (was: https://github.com/apache/cassandra/pull/2499)
             Resolution: Fixed
                 Status: Resolved  (was: Ready to Commit)

> BTI format's decision to preload partition index is incorrect
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-18677
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18677
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Local/SSTable
>            Reporter: Branimir Lambov
>            Assignee: Branimir Lambov
>            Priority: Normal
>             Fix For: 5.0
>
>
> On load, BTI format SSTables are supposed to walk through the partition index 
> when the SSTable does not have a bloom filter, to prefetch the index in cache.
> This decision [is currently 
> inverted|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/io/sstable/format/bti/BtiTableReaderLoadingBuilder.java#L125C62-L125C62],
>  causing both an unnecessary preload when a filter is present, and making 
> filterless sstables inefficient. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to