cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1837) Deleted columns are resurrected after a flush
Date Wed, 15 Dec 2010 16:16:03 GMT

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

Hudson commented on CASSANDRA-1837:
-----------------------------------

Integrated in Cassandra #631 (See [https://hudson.apache.org/hudson/job/Cassandra/631/])
    changes for CASSANDRA-1837
track row deletions when merging cols to form a row. patch by gdusbabek and jbellis. CASSANDRA-1837
unit tests that show bug. patch by gdusbabek, reviewed by jbellis. CASSANDRA-1837


> 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
>
>         Attachments: 1837-0.6-unit-test.diff, v1-0001-unit-tests-that-show-bug.txt, v1-0002-copy-deletion-time-to-reduced-column-families.txt,
v2-0002.txt
>
>
> Easily reproduced with the cli:
> {noformat}
> [default@unknown] create keyspace testks;
> 2785d67c-02df-11e0-ac09-e700f669bcfc
> [default@unknown] use testks;
> Authenticated to keyspace: testks
> [default@testks] create column family testcf;
> 2fbad20d-02df-11e0-ac09-e700f669bcfc
> [default@testks] set testcf['test']['foo'] = 'foo';
> Value inserted.
> [default@testks] set testcf['test']['bar'] = 'bar';
> Value inserted.
> [default@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.
> [default@testks] del testcf['test'];
> row removed.
> [default@testks] list testcf;
> Using default limit of 100
> -------------------
> RowKey: test
> 1 Row Returned.
> {noformat}
> Now flush testks and look again:
> {noformat}
> [default@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.


Mime
View raw message