cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (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 17:18:13 GMT

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

Tyler Hobbs commented on CASSANDRA-11613:
-----------------------------------------

I think your suggestions are good, so I've created a new patch and started new test runs.
 The new patch doesn't freeze UDTs/collections that are nested inside of already frozen collections/UDTs.
 However, I did add explicit freezing of collections that are nested within non-frozen UDTs/collections
to ensure CASSANDRA-7826 doesn't have any upgrade problems.

Here's an example schema after upgrading:

Table created in 2.2:
{noformat}
CREATE TABLE foo (a int primary key, b frozen<mytype>, c set<frozen<mytype>>,
d frozen<set<mytype>>, e set<frozen<set<mytype>>>);
{noformat}

{{system_schema.columns}} after upgrading to 3.6:
{noformat}
 keyspace_name | table_name | column_name | clustering_order | column_name_bytes | kind  
       | position | type
---------------+------------+-------------+------------------+-------------------+---------------+----------+--------------------------
           ks1 |        foo |           a |             none |              0x61 | partition_key
|        0 |                      int
           ks1 |        foo |           b |             none |              0x62 |       regular
|       -1 |           frozen<mytype>
           ks1 |        foo |           c |             none |              0x63 |       regular
|       -1 |      set<frozen<mytype>>
           ks1 |        foo |           d |             none |              0x64 |       regular
|       -1 |      frozen<set<mytype>>
           ks1 |        foo |           e |             none |              0x65 |       regular
|       -1 | set<frozen<set<mytype>>>
{noformat}

||branch||testall||dtest||
|[CASSANDRA-11613-3.6|https://github.com/thobbs/cassandra/tree/CASSANDRA-11613-3.6]|[testall|http://cassci.datastax.com/view/Dev/view/thobbs/job/thobbs-CASSANDRA-11613-3.6-testall]|[dtest|http://cassci.datastax.com/view/Dev/view/thobbs/job/thobbs-CASSANDRA-11613-3.6-dtest]|
|[CASSANDRA-11613-trunk|https://github.com/thobbs/cassandra/tree/CASSANDRA-11613-trunk]|[testall|http://cassci.datastax.com/view/Dev/view/thobbs/job/thobbs-CASSANDRA-11613-trunk-testall]|[dtest|http://cassci.datastax.com/view/Dev/view/thobbs/job/thobbs-CASSANDRA-11613-trunk-dtest]|

> 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.6
>
>
> 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