You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Robbie Strickland (JIRA)" <ji...@apache.org> on 2014/09/13 22:54:33 UTC
[jira] [Created] (CASSANDRA-7930) Warn when evicting prepared
statements from cache
Robbie Strickland created CASSANDRA-7930:
--------------------------------------------
Summary: Warn when evicting prepared statements from cache
Key: CASSANDRA-7930
URL: https://issues.apache.org/jira/browse/CASSANDRA-7930
Project: Cassandra
Issue Type: Improvement
Components: Core
Reporter: Robbie Strickland
Assignee: Robbie Strickland
The prepared statement cache is an LRU, with a max size of maxMemory / 256. There is currently no warning when statements are evicted, which could be problematic if the user is unaware that this is happening.
At the very least, we should provide a JMX metric and possibly a log message indicating this is happening. At some point it may also be worthwhile to make this tunable for users with large numbers of statements.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)