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

Gary Dusbabek edited comment on CASSANDRA-1837 at 12/10/10 3:11 PM:
--------------------------------------------------------------------

This is happening because of bug in the way deleted rows are [not] interpreted 
once they leave the memtable in the CFS.getRangeSlice code.  
CFS.getColumnFamily doesn't exhibit the bug, but the codepath is pretty 
different.

I've got a fix that addresses standard columns, but it breaks a few of the 
nosetests for super columns.  Looking into that now.

      was (Author: gdusbabek):
    This is happening because of bug in the way deleted rows are [not] 
interpreted in the CFS.getRangeSlice code.  CFS.getColumnFamily doesn't exhibit 
the bug, but the codepath is pretty different.

I've got a fix that addresses standard columns, but it breaks a few of the 
nosetests for super columns.  Looking into that now.
  
> Deleted columns are resurrected after a flush
> ---------------------------------------------
>
>                 Key: CASSANDRA-1837
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1837
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.0 rc 1
>            Reporter: Brandon Williams
>            Assignee: Gary Dusbabek
>            Priority: Blocker
>             Fix For: 0.7.0
>
>
> Easily reproduced with the cli:
> {noformat}
> [defa...@unknown] create keyspace testks;
> 2785d67c-02df-11e0-ac09-e700f669bcfc
> [defa...@unknown] use testks;
> Authenticated to keyspace: testks
> [defa...@testks] create column family testcf;
> 2fbad20d-02df-11e0-ac09-e700f669bcfc
> [defa...@testks] set testcf['test']['foo'] = 'foo';
> Value inserted.
> [defa...@testks] set testcf['test']['bar'] = 'bar';
> Value inserted.
> [defa...@testks] list testcf;
> Using default limit of 100
> -------------------
> RowKey: test
> => (column=626172, value=626172, timestamp=1291821869120000)
> => (column=666f6f, value=666f6f, timestamp=1291821857320000)
> 1 Row Returned.
> [defa...@testks] del testcf['test'];
> row removed.
> [defa...@testks] list testcf;
> Using default limit of 100
> -------------------
> RowKey: test
> 1 Row Returned.
> {noformat}
> Now flush testks and look again:
> {noformat}
> [defa...@testks] list testcf;
> Using default limit of 100
> -------------------
> RowKey: test
> => (column=626172, value=626172, timestamp=1291821869120000)
> => (column=666f6f, value=666f6f, timestamp=1291821857320000)
> 1 Row Returned.
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to