cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Lerer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-10003) RowAndDeletionMergeIteratorTest is failing on 3.0 and trunk
Date Tue, 11 Aug 2015 14:54:45 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-10003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benjamin Lerer updated CASSANDRA-10003:
---------------------------------------
    Attachment: 10003-V3.txt

Thanks a lot for the patch.It looks good to me.

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

I added an extra test to cover this case.

> 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, 10003-V3.txt
>
>
> 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)

Mime
View raw message