cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-5314) Replaying old batches can 'undo' deletes
Date Tue, 21 May 2013 18:29:17 GMT

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

Jonathan Ellis commented on CASSANDRA-5314:
-------------------------------------------

Why do we add this?

{code}
        cf.addColumn(new Column(columnName(""), ByteBufferUtil.EMPTY_BYTE_BUFFER, timestamp));
{code}

Nit: CopyOnWriteArraySet is a bit of an odd choice, since we expect to mutate it once for
each entry.
                
> 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: 1.2.6
>
>
> 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

Mime
View raw message