[
https://issues.apache.org/jira/browse/CASSANDRA-7930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14135844#comment-14135844
]
Aleksey Yeschenko commented on CASSANDRA-7930:
----------------------------------------------
This seems to (intentionally?) duplicate a lot of CASSANDRA-7719. So Before
committing any of this, I want us to address the issues in my previous comment
there -
https://issues.apache.org/jira/browse/CASSANDRA-7719?focusedCommentId=14132561&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14132561
> 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
> Labels: bootcamp, jmx
> Attachments: cassandra-2.0-v2.txt, cassandra-2.0-v3.txt,
> cassandra-2.0-v4.txt, cassandra-2.0-v5.txt, cassandra-2.0-v6.txt,
> cassandra-2.0.txt, cassandra-2.1.txt
>
>
> 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)