[ https://issues.apache.org/jira/browse/CASSANDRA-18585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17758064#comment-17758064 ]
Andres de la Peña commented on CASSANDRA-18585: ----------------------------------------------- {{TableMetrics.testLoggedPartitionsPerBatch}} turns out to be CASSANDRA-17245 {{test_move_forwards_between_and_cleanup}} can be [reproduced on trunk|https://app.circleci.com/pipelines/github/adelapena/cassandra/3128/workflows/b0cf2754-81fd-491e-bac4-cc7fe8b0ac1b/jobs/70390/tests], I have opened CASSANDRA-18792 for it. I haven't been able to repro with the multiplexer the failures at: * {{test_paxos_any}}: https://app.circleci.com/pipelines/github/adelapena/cassandra/3129/workflows/4c76bfd7-c91e-4b64-abba-b5bd29d737b2 * {{test_optional_outbound_tls}}: https://app.circleci.com/pipelines/github/adelapena/cassandra/3127/workflows/43402ea7-64ba-4177-809f-daa71fd879d3 > Alter Type does not validate changes like Create Type does > ---------------------------------------------------------- > > Key: CASSANDRA-18585 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18585 > Project: Cassandra > Issue Type: Bug > Components: Cluster/Schema > Reporter: David Capwell > Assignee: Roman Mushchinski > Priority: Normal > Fix For: 3.0.x, 3.11.x, 4.0.x, 4.1.x, 5.x > > Time Spent: 1.5h > Remaining Estimate: 0h > > Create Type attempts to block undesired field types, but this validation is > not cared over to Alter Type Add Field; which allows you to add > unexpected/desired types > {code} > Assertions.assertThatThrownBy(() -> createType("CREATE TYPE %s (f > counter)")).hasRootCauseMessage("A user type cannot contain counters"); > String type = createType(KEYSPACE, "CREATE TYPE %s (a int)"); > schemaChange(String.format("ALTER TYPE %s.%s ADD f counter", KEYSPACE, type)); > UserType udt = > Keyspace.open(KEYSPACE).getMetadata().types.get(UTF8Type.instance.decompose(type)).get(); > logger.warn("UDT: {}", udt); > {code} > {code} > UDT: > org.apache.cassandra.db.marshal.UserType(cql_test_keyspace,747970655f3031,61:org.apache.cassandra.db.marshal.Int32Type,66:org.apache.cassandra.db.marshal.CounterColumnType) > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org