[
https://issues.apache.org/jira/browse/CASSANDRA-18677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17744939#comment-17744939
]
Jacek Lewandowski commented on CASSANDRA-18677:
-----------------------------------------------
Sorry for that, obviously +1
> 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
>
> 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]