You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dave Brosius (JIRA)" <ji...@apache.org> on 2016/07/18 05:38:20 UTC

[jira] [Commented] (CASSANDRA-12220) utest RowIndexEntryTest.testC11206AgainstPreviousArray/Shallow failure

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

Dave Brosius commented on CASSANDRA-12220:
------------------------------------------

odd. obstensibly, the difference is in 

UnfilteredSerializer.serializeRowBody

where in the broken case, the row has column [ck], when it should have column [val]

Thus the BTreeSearchIterator can't find it, and returns null

        for (ColumnData data : row)
        {
            ColumnDefinition column = si.next(data.column());



looking...

> utest RowIndexEntryTest.testC11206AgainstPreviousArray/Shallow failure
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-12220
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12220
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Robert Stupp
>
> The unit tests {{RowIndexEntryTest.testC11206AgainstPreviousArray}} and {{RowIndexEntryTest.testC11206AgainstPreviousShallow}} fail after [this single line change|https://github.com/apache/cassandra/commit/70fd80ae43f3902e651c956b6d4d07cbc203d30a#diff-75146ba408a51071a0b19ffdfbb2bb3cL307] as shown in [this build|http://cassci.datastax.com/view/trunk/job/trunk_testall/1044/].
> Reverting that line to {{new HashMap<>()}} fixes the unit test issues - but _does not_ explain why it fails, since initializing a collection with the expected size should not change the overall behaviour. There seems to be something else being wrong.
> /cc [~dbrosius]



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