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 2016/05/23 12:30:12 UTC
[jira] [Comment Edited] (CASSANDRA-11739) Cache key references
might cause OOM on incremental repair
[ https://issues.apache.org/jira/browse/CASSANDRA-11739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15296308#comment-15296308 ]
Marcus Eriksson edited comment on CASSANDRA-11739 at 5/23/16 12:29 PM:
-----------------------------------------------------------------------
LGTM
small nits;
* we used to remove the sstables from the {{sstableMap}} that had disappeared from disk, pushed a small fix for that here: https://github.com/krummas/cassandra/commits/paulo/11739
* we had {{@SuppressWarnings("resource")}} on {{getAndReferenceSSTables}} in 2.2+- it should probably stay on {{getActiveRepairedSSTableRefs}} now
* {{public synchronized Refs<SSTableReader> getActiveRepairedSSTableRefs(UUID cfId)}} seems to have 1 space too little indentation
was (Author: krummas):
LGTM
small nits;
* we used to remove the sstables from the {{sstableMap}} that had disappeared from disk, pushed a small fix for that here: https://github.com/krummas/cassandra/commits/paulo/11739
* we had {{@SuppressWarnings("resource")}} on {{getAndReferenceSSTables}} - it should probably stay on {{getActiveRepairedSSTableRefs}} now
* {{public synchronized Refs<SSTableReader> getActiveRepairedSSTableRefs(UUID cfId)}} seems to have 1 space too little indentation
> Cache key references might cause OOM on incremental repair
> ----------------------------------------------------------
>
> Key: CASSANDRA-11739
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11739
> Project: Cassandra
> Issue Type: Bug
> Reporter: Paulo Motta
> Assignee: Paulo Motta
> Attachments: heapdump.png
>
>
> We keep {{SSTableReader}} references for the duration of the repair to anti-compact later, and their tidier keep references to cache keys to be invalidated which are only cleaned up by GC after repair is finished. These cache keys can accumulate while repair is being executed leading to OOM for large tables/keyspaces.
> Heap dump attached.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)