You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Marcus Eriksson (Jira)" <ji...@apache.org> on 2024/11/08 12:51:00 UTC

[jira] [Created] (CASSANDRA-20068) Add flag to avoid invalidating key cache on file deletion

Marcus Eriksson created CASSANDRA-20068:
-------------------------------------------

             Summary: Add flag to avoid invalidating key cache on file deletion
                 Key: CASSANDRA-20068
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20068
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Marcus Eriksson
            Assignee: Marcus Eriksson


CASSANDRA-17056 changed the way we invalidate key cache when deleting sstables after compaction. It now iterates over all the keys in the keycache and deletes the key if it is for the current sstable.

It can potentially take several seconds per deleted sstable to do this.

Patch attached which disables this by default, but can be turned on if anyone relies on this.



--
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