[
https://issues.apache.org/jira/browse/CASSANDRA-5314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13600936#comment-13600936
]
Sylvain Lebresne commented on CASSANDRA-5314:
---------------------------------------------
bq. We TTL hints with gcgs to prevent this
Interesting. There is 2 (somewhat conflicting) things that seems weird to me
with that:
# the intent seems broken if gc_grace==0, since a TTL of 0 means no TTL at all.
# in the (not uncommon) case of using TTL on all columns without doing manual
deletion, it makes sense to use a very low gc_grace. In this case, this seems
to make hints useless, which I'm not sure is what people expect (I'll admit I
was unaware of that).
> 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