[
https://issues.apache.org/jira/browse/CASSANDRA-2082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Burroughs updated CASSANDRA-2082:
---------------------------------------
Attachment: 0002-v1-unit-test-for-CASSANDRA-2082.patch
0001-v1-Only-load-up-to-capacity-items-into-the-cache.patch
Note that the second patch applies on top of CASSANDRA-1966.
> Saved row cache continues to be read past max cache size
> --------------------------------------------------------
>
> Key: CASSANDRA-2082
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2082
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.6.11
> Reporter: Chris Burroughs
> Assignee: Chris Burroughs
> Priority: Minor
> Attachments:
> 0001-v1-Only-load-up-to-capacity-items-into-the-cache.patch,
> 0002-v1-unit-test-for-CASSANDRA-2082.patch
>
>
> Scenario:
> - Node has a saved row cache of size n
> - node OOMs
> - Make row cache size = .5n to prevent OOM while we debug, restart node.
> - n items are still read from the row cache, making startup take twice as
> long as needed.
> (This is intended as a straightforward bug, not as a hackish CASSANDRA-1966.)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira