You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2014/12/17 17:56:14 UTC

[jira] [Commented] (CASSANDRA-8498) Replaying commit log records that are older than gc_grace is dangerous

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

Jonathan Ellis commented on CASSANDRA-8498:
-------------------------------------------

What does failing buy us, other than making it really obvious that there's a problem?  I'd prefer to log an error and skip the records involved but otherwise start up normally.

> Replaying commit log records that are older than gc_grace is dangerous
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-8498
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8498
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Benedict
>
> If we replay commit log records that are older than gc_grace we could introduce data corruption to the cluster. We should either (1) fail and suggest a repair, or (2) log an exception. I prefer (1).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)