cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rene kochen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-2786) After a minor compaction, deleted key-slices are visible again
Date Fri, 17 Jun 2011 12:42:48 GMT
After a minor compaction, deleted key-slices are visible again
--------------------------------------------------------------

                 Key: CASSANDRA-2786
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2786
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.8.0
         Environment: Single node with empty database
            Reporter: rene kochen


After a minor compaction, deleted key-slices are visible again.

Steps to reproduce:

1) Insert a row named "test".
2) Insert 500000 rows. During this step, "test" is included in a major compaction.
3) Delete row named "test".
4) Insert 500000 rows. During this step, "test" is included in a minor compaction.

After step 4, row "test" is live again.

Test environment:

Single node with empty database.

Standard configured super-column-family (I see this behavior with several gc_grace settings
(big and small values):
create column family Customers with column_type = 'Super' and comparator = 'BytesType;

In Cassandra 0.7.6 I observe the expected behavior, i.e. after step 4, the row is still deleted.

I've included a .NET program to reproduce the problem. I will add a Java version later on.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message