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

Sylvain Lebresne commented on CASSANDRA-5314:
---------------------------------------------

Isn't that a problem we already have with normal hints? After all, if an insert 
takes a long time to get delivered and you have a short gc_grace, some delete 
that override an hint could get gced before the hint gets delivered.

In any case, I agree with Jonathan: saying that you shouldn't have a gc_grace 
too short if you do deletes seems fair to me, in the sense that it's what 
gc_grace is about: providing some time frame after which you consider 
everything has been delivered.
                
> 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.2
>            Reporter: Aleksey Yeschenko
>            Assignee: Aleksey Yeschenko
>             Fix For: 1.2.3
>
>
> 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