cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-5314) Replaying old batches can 'undo' deletes
Date Wed, 13 Mar 2013 08:04:13 GMT


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:
>             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:

View raw message