You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Branimir Lambov (Jira)" <ji...@apache.org> on 2023/07/19 08:39:00 UTC

[jira] [Created] (CASSANDRA-18677) BTI format's decision to preload partition index is incorrect

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