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

Daniel Chia commented on CASSANDRA-10003:
-----------------------------------------

Relatedly, while looking at code during fixing this test, I came across this: 
https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/rows/RowAndDeletionMergeIterator.java#L138

I'm not sure if this is a bug, but don't we need to test if the 
partitionLevelDeletion supersedes the range tombstone deletion?

> RowAndDeletionMergeIteratorTest is failing on 3.0 and trunk
> -----------------------------------------------------------
>
>                 Key: CASSANDRA-10003
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10003
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Yuki Morishita
>            Assignee: Daniel Chia
>            Priority: Blocker
>             Fix For: 3.0.x
>
>         Attachments: 0001-trunk-10003.patch, 0002-trunk-10003.patch
>
>
> RowAndDeletionMergeIteratorTest is falling with the followings:
> {code}
>     [junit] Testcase: 
> testWithAtMostRangeTombstone(org.apache.cassandra.db.rows.RowAndDeletionMergeIteratorTest):
>        FAILED
>     [junit] expected:<ROW> but was:<RANGE_TOMBSTONE_MARKER>
>     [junit] junit.framework.AssertionFailedError: expected:<ROW> but 
> was:<RANGE_TOMBSTONE_MARKER>
>     [junit]     at 
> org.apache.cassandra.db.rows.RowAndDeletionMergeIteratorTest.assertRow(RowAndDeletionMergeIteratorTest.java:328)
>     [junit]     at 
> org.apache.cassandra.db.rows.RowAndDeletionMergeIteratorTest.testWithAtMostRangeTombstone(RowAndDeletionMergeIteratorTest.java:134)
>     [junit]
>     [junit]
>     [junit] Testcase: 
> testWithGreaterThanRangeTombstone(org.apache.cassandra.db.rows.RowAndDeletionMergeIteratorTest):
>   FAILED
>     [junit] expected:<ROW> but was:<RANGE_TOMBSTONE_MARKER>
>     [junit] junit.framework.AssertionFailedError: expected:<ROW> but 
> was:<RANGE_TOMBSTONE_MARKER>
>     [junit]     at 
> org.apache.cassandra.db.rows.RowAndDeletionMergeIteratorTest.assertRow(RowAndDeletionMergeIteratorTest.java:328)
>     [junit]     at 
> org.apache.cassandra.db.rows.RowAndDeletionMergeIteratorTest.testWithGreaterThanRangeTombstone(RowAndDeletionMergeIteratorTest.java:179)
>     [junit]
>     [junit]
>     [junit] Testcase: 
> testWithAtMostAndGreaterThanRangeTombstone(org.apache.cassandra.db.rows.RowAndDeletionMergeIteratorTest):
>  FAILED
>     [junit] expected:<ROW> but was:<RANGE_TOMBSTONE_MARKER>
>     [junit] junit.framework.AssertionFailedError: expected:<ROW> but 
> was:<RANGE_TOMBSTONE_MARKER>
>     [junit]     at 
> org.apache.cassandra.db.rows.RowAndDeletionMergeIteratorTest.assertRow(RowAndDeletionMergeIteratorTest.java:328)
>     [junit]     at 
> org.apache.cassandra.db.rows.RowAndDeletionMergeIteratorTest.testWithAtMostAndGreaterThanRangeTombstone(RowAndDeletionMergeIteratorTest.java:207)
>     [junit]
>     [junit]
>     [junit] Testcase: 
> testWithIncludingEndExcludingStartMarker(org.apache.cassandra.db.rows.RowAndDeletionMergeIteratorTest):
>    FAILED
>     [junit] expected:<ROW> but was:<RANGE_TOMBSTONE_MARKER>
>     [junit] junit.framework.AssertionFailedError: expected:<ROW> but 
> was:<RANGE_TOMBSTONE_MARKER>
>     [junit]     at 
> org.apache.cassandra.db.rows.RowAndDeletionMergeIteratorTest.assertRow(RowAndDeletionMergeIteratorTest.java:328)
>     [junit]     at 
> org.apache.cassandra.db.rows.RowAndDeletionMergeIteratorTest.testWithIncludingEndExcludingStartMarker(RowAndDeletionMergeIteratorTest.java:257)
>     [junit]
>     [junit]
>     [junit] Testcase: 
> testWithExcludingEndIncludingStartMarker(org.apache.cassandra.db.rows.RowAndDeletionMergeIteratorTest):
>    FAILED
>     [junit] expected:<ROW> but was:<RANGE_TOMBSTONE_MARKER>
>     [junit] junit.framework.AssertionFailedError: expected:<ROW> but 
> was:<RANGE_TOMBSTONE_MARKER>
>     [junit]     at 
> org.apache.cassandra.db.rows.RowAndDeletionMergeIteratorTest.assertRow(RowAndDeletionMergeIteratorTest.java:328)
>     [junit]     at 
> org.apache.cassandra.db.rows.RowAndDeletionMergeIteratorTest.testWithExcludingEndIncludingStartMarker(RowAndDeletionMergeIteratorTest.java:297)
> {code}
> cassci started to show the failure recently, but I can go back as far as 
> {{2457599427d361314dce4833abeb5cd4915d0b06}} to see the failure on local.



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

Reply via email to