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

Marcus Eriksson commented on CASSANDRA-12765:
---------------------------------------------

I created a test and pushed the patch and the fix for 3.0+ - running tests:

||branch||testall||dtest||
|[cameron/12765-2.1|https://github.com/krummas/cassandra/tree/cameron/12765-2.1]|[testall|http://cassci.datastax.com/view/Dev/view/krummas/job/krummas-cameron-12765-2.1-testall]|[dtest|http://cassci.datastax.com/view/Dev/view/krummas/job/krummas-cameron-12765-2.1-dtest]|
|[cameron/12765-2.2|https://github.com/krummas/cassandra/tree/cameron/12765-2.2]|[testall|http://cassci.datastax.com/view/Dev/view/krummas/job/krummas-cameron-12765-2.2-testall]|[dtest|http://cassci.datastax.com/view/Dev/view/krummas/job/krummas-cameron-12765-2.2-dtest]|
|[cameron/12765-3.0|https://github.com/krummas/cassandra/tree/cameron/12765-3.0]|[testall|http://cassci.datastax.com/view/Dev/view/krummas/job/krummas-cameron-12765-3.0-testall]|[dtest|http://cassci.datastax.com/view/Dev/view/krummas/job/krummas-cameron-12765-3.0-dtest]|
|[cameron/12765-3.X|https://github.com/krummas/cassandra/tree/cameron/12765-3.X]|[testall|http://cassci.datastax.com/view/Dev/view/krummas/job/krummas-cameron-12765-3.X-testall]|[dtest|http://cassci.datastax.com/view/Dev/view/krummas/job/krummas-cameron-12765-3.X-dtest]|
|[cameron/12765-trunk|https://github.com/krummas/cassandra/tree/cameron/12765-trunk]|[testall|http://cassci.datastax.com/view/Dev/view/krummas/job/krummas-cameron-12765-trunk-testall]|[dtest|http://cassci.datastax.com/view/Dev/view/krummas/job/krummas-cameron-12765-trunk-dtest]|

the 3.0+ fix is 
[here|https://github.com/apache/cassandra/compare/trunk...krummas:cameron/12765-trunk?expand=1]
 - we were only including the partition level deletion if it was live


> SSTable ignored incorrectly with row level tombstone
> ----------------------------------------------------
>
>                 Key: CASSANDRA-12765
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12765
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Local Write-Read Paths
>            Reporter: Cameron Zemek
>            Assignee: Cameron Zemek
>         Attachments: 12765.patch
>
>
> {noformat}
> CREATE TABLE test.payload(
>   bucket_id TEXT,
>   name TEXT,
>   data TEXT,
>   PRIMARY KEY (bucket_id, name)
> );
> insert into test.payload (bucket_id, name, data) values 
> ('8772618c9009cf8f5a5e0c18', 'test', 'hello');
> {noformat}
> Flush nodes (nodetool flush)
> {noformat}
> insert into test.payload (bucket_id, name, data) values 
> ('8772618c9009cf8f5a5e0c19', 'test2', 'hello');
> delete from test.payload where bucket_id = '8772618c9009cf8f5a5e0c18';
> {noformat}
> Flush nodes (nodetool flush)
> {noformat}
> select * from test.payload where bucket_id = '8772618c9009cf8f5a5e0c18' and 
> name = 'test';
> {noformat}
> Expected 0 rows but get 1 row back.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to