Branimir Lambov created CASSANDRA-18677:
-------------------------------------------
Summary: 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
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]