[ 
https://issues.apache.org/jira/browse/CASSANDRA-609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787877#action_12787877
 ] 

Jun Rao commented on CASSANDRA-609:
-----------------------------------

Currently, CL.discardCompletedSegments() doesn't really discard log files 
properly during recovery. The problem is that clHeaders_ is never populated 
during recovery.

Deleting log files explicitly during recovery may not be that bad. If anything 
goes wrong during recovery, we will get either an IOException or a 
RuntimeException. In either case, log files won't be deleted.

> Easy to OOM on log replay since memtable limits are ignored
> -----------------------------------------------------------
>
>                 Key: CASSANDRA-609
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-609
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>             Fix For: 0.5
>
>         Attachments: 609-2.patch, 609.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to