Branimir Lambov created CASSANDRA-20593: -------------------------------------------
Summary: The chunk cache does not retain chunks for early open sstables Key: CASSANDRA-20593 URL: https://issues.apache.org/jira/browse/CASSANDRA-20593 Project: Apache Cassandra Issue Type: Bug Components: Local/Caching Reporter: Branimir Lambov The chunk cache is invalidated [when a {{FileHandle}} is closed|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/io/util/FileHandle.java#L239], which is called for sstables that have been opened early when they are switched out. This means that it cannot retain data between different stages of opening files early, and also for the final sstable. To avoid this, cache invalidation can be done when the sstable reader is tidied, at the time when [the system cache is being released|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/io/sstable/format/SSTableReader.java#L1673]. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org