cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-5314) Replaying old batches can 'undo' deletes
Date Tue, 07 May 2013 14:59:16 GMT


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

Am I missing anything?
> Replaying old batches can 'undo' deletes
> ----------------------------------------
>                 Key: CASSANDRA-5314
>                 URL:
>             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:

View raw message