cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-5491) RangeTombstoneTest does not test indexed name queries which are probably broken
Date Tue, 09 Jul 2013 16:09:48 GMT

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

Jonathan Ellis resolved CASSANDRA-5491.
---------------------------------------

       Resolution: Invalid
    Fix Version/s:     (was: 1.2.7)

Sylvain:

bq. Range tombstones are stored with the data, not in the top level DeletionInfo. So if, for
a non-indexed entry, you actually fake it saying "it's indexed but there is not index entry",
this is equivalent to saying "there is no data in that row".
                
> RangeTombstoneTest does not test indexed name queries which are probably broken
> -------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-5491
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5491
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.2.0
>            Reporter: Jonathan Ellis
>            Assignee: Sylvain Lebresne
>         Attachments: 5491-test.txt
>
>
> As described in https://issues.apache.org/jira/browse/CASSANDRA-5487?focusedCommentId=13634785&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13634785,
RangeTombstoneTest only exercises the readSimpleColumns path in SSTableNamesIterator.  If
RowIndexEntry.create is tweaked to create single-entry indexes, readIndexedColumns fails the
test:
> {noformat}
>     [junit] Testcase: simpleQueryWithRangeTombstoneTest(org.apache.cassandra.db.RangeTombstoneTest):
FAILED
>     [junit] Column 12 shouldn't be live
>     [junit] junit.framework.AssertionFailedError: Column 12 shouldn't be live
>     [junit] 	at org.apache.cassandra.db.RangeTombstoneTest.simpleQueryWithRangeTombstoneTest(RangeTombstoneTest.java:88)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message