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

Aleksey Yeschenko commented on CASSANDRA-5314:
----------------------------------------------

So, for now:
1. Apply the original patch (subtract the time spent in the batchlog from 
hints' ttls)
2. If the target nodes are up (of at least FD says so), try writing the 
mutations directly instead of hinting them
3. Reduce the batch replay interval to, say, 1 minute
4. Fix hints to not write the hint at all if it's computed TTL == 0 (when 
gc_grace is 0, for example).

Am I missing anything?
                
> Replaying old batches can 'undo' deletes
> ----------------------------------------
>
>                 Key: CASSANDRA-5314
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5314
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: Aleksey Yeschenko
>            Assignee: Aleksey Yeschenko
>             Fix For: 2.0
>
>
> Batchlog manager does not subtract the time spent in the batchlog from hints' 
> ttls and this may cause undoing deletes. The attached patch fixes it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to