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] [Commented] (CASSANDRA-11613) dtest failure in upgrade_tests.cql_tests.TestCQLNodes2RF1_2_2_HEAD_UpTo_Trunk.more_user_types_test
Date Tue, 17 May 2016 12:23:12 GMT

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

Benjamin Lerer commented on CASSANDRA-11613:
--------------------------------------------

Effectively, in {{2.2}} even if the UDT was created with the Frozen keyword, it appears in
the {{schema_columns}} without the {{FrozenType}}.

If my understanding is correct, we should only froze the top level as everything nested is
then also frozen. In which case, I think the code should be:
{code}
if (validator.isUDT() && validator.isMultiCell())
{
    validator = validator.freeze();
}
else
{
   validator = validator.freezeNestedUDTs();
}
{code}

CASSANDRA-11609 froze UDTs even if they are nested within a frozen collection but I find it
a bit confusing. It will be probably clearer if it was not the case. What do you think?

> dtest failure in upgrade_tests.cql_tests.TestCQLNodes2RF1_2_2_HEAD_UpTo_Trunk.more_user_types_test
> --------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-11613
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11613
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Russ Hatch
>            Assignee: Tyler Hobbs
>              Labels: dtest
>             Fix For: 3.x
>
>
> example failure:
> http://cassci.datastax.com/job/upgrade_tests-all-custom_branch_runs/8/testReport/upgrade_tests.cql_tests/TestCQLNodes2RF1_2_2_HEAD_UpTo_Trunk/more_user_types_test
> Failed on CassCI build upgrade_tests-all-custom_branch_runs #8



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

Mime
View raw message