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 2025/11/21 14:50:00 UTC

[jira] [Created] (CASSANDRA-21038) Avoid iterating all prepared statements when getting the PreparedStatementsCacheSize metric

Marcus Eriksson created CASSANDRA-21038:
-------------------------------------------

             Summary: Avoid iterating all prepared statements when getting the PreparedStatementsCacheSize metric
                 Key: CASSANDRA-21038
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21038
             Project: Apache Cassandra
          Issue Type: Improvement
            Reporter: Marcus Eriksson
            Assignee: Marcus Eriksson


The prepared statement cache tracks the current total weight for eviction purposes, we can just return that



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