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

Stefan Miklosovic commented on CASSANDRA-20982:
-----------------------------------------------

[CASSANDRA-20982-trunk|https://github.com/instaclustr/cassandra/tree/CASSANDRA-20982-trunk]
{noformat}
java17_pre-commit_tests                         
  ✓ j17_build                                       10m 27s
  ✓ j17_cqlsh_dtests_py311                           6m 45s
  ✓ j17_cqlsh_dtests_py311_vnode                     7m 32s
  ✓ j17_cqlsh_dtests_py38                             7m 9s
  ✓ j17_cqlsh_dtests_py38_vnode                      7m 33s
  ✓ j17_cqlshlib_cython_tests                        8m 54s
  ✓ j17_cqlshlib_tests                               11m 3s
  ✓ j17_unit_tests                                  18m 41s
  ✓ j17_unit_tests_repeat                            10m 7s
  ✓ j17_utests_latest_repeat                        11m 44s
  ✓ j17_utests_oa                                   18m 36s
  ✓ j17_utests_oa_repeat                            10m 54s
  ✕ j17_dtests                                     1h 0m 4s
  ✕ j17_dtests_latest                               44m 34s
      bootstrap_test.TestBootstrap test_killed_wiped_node_cannot_join
      bootstrap_test.TestBootstrap test_shutdown_wiped_node_cannot_join
  ✕ j17_dtests_vnode                                43m 57s
      bootstrap_test.TestBootstrap test_decommissioned_wiped_node_can_join
      bootstrap_test.TestBootstrap test_shutdown_wiped_node_cannot_join
  ✕ j17_jvm_dtests                                  36m 59s
      
org.apache.cassandra.distributed.test.accord.AccordWriteInteroperabilityTest 
testBatchInsertApplyIsInteropApply[transactionalMode=full, migrated=firstPhase]
      
org.apache.cassandra.distributed.test.cql3.MultiNodeTableWalkWithReadRepairTest 
test
      
org.apache.cassandra.distributed.test.accord.MigrationFromAccordWriteRaceTest 
testSplitAndRetryNonSerialLoggedBatchTwoTablesTwoPkeyHintedViaBatchLogRoutingFailure
      junit.framework.TestSuite 
org.apache.cassandra.distributed.test.accord.MigrationFromAccordWriteRaceTest
      org.apache.cassandra.distributed.test.accord.AccordMoveTest moveTest
      org.apache.cassandra.fuzz.topology.AccordTopologyMixupTest test
  ✕ j17_jvm_dtests_latest_vnode                     28m 11s
      org.apache.cassandra.distributed.test.sai.IndexHintsDistributedTest 
testIndexHintsWithAllOldVersion
      
org.apache.cassandra.distributed.test.cql3.FullAccordInteropMultiNodeTokenConflictTest
 test
      junit.framework.TestSuite 
org.apache.cassandra.distributed.test.accord.MigrationFromAccordReadRaceTest
      junit.framework.TestSuite 
org.apache.cassandra.distributed.test.accord.MigrationFromAccordReadRaceTest
      
org.apache.cassandra.distributed.test.cql3.MultiNodeTableWalkWithReadRepairTest 
test
      junit.framework.TestSuite 
org.apache.cassandra.distributed.test.accord.MigrationFromAccordWriteRaceTest
      junit.framework.TestSuite 
org.apache.cassandra.distributed.test.accord.MigrationFromAccordWriteRaceTest
      
org.apache.cassandra.distributed.test.cql3.MultiNodeTableWalkWithoutReadRepairTest
 test
      junit.framework.TestSuite 
org.apache.cassandra.distributed.test.accord.MigrationToAccordWriteRaceTest
      junit.framework.TestSuite 
org.apache.cassandra.distributed.test.accord.MigrationToAccordWriteRaceTest
      org.apache.cassandra.distributed.test.cql3.PaxosV2MultiNodeTableWalkTest 
test
      
org.apache.cassandra.distributed.test.streaming.IndexBuildFailsAfterStreamingTest
 test
      junit.framework.TestSuite 
org.apache.cassandra.distributed.test.accord.AccordMigrationTest
      junit.framework.TestSuite 
org.apache.cassandra.distributed.test.accord.AccordMigrationTest
      org.apache.cassandra.fuzz.topology.AccordTopologyMixupTest test
  ✕ j17_utests_latest                                19m 8s
      org.apache.cassandra.utils.SimpleBitSetSerializersTest any
java17_separate_tests                            
java11_pre-commit_tests                         
java11_separate_tests                            
{noformat}

[java17_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/6144/workflows/ee3210a4-7354-4247-990d-f9b1462a62df]
[java17_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/6144/workflows/451f5640-2c5d-4847-a81a-34a0b73986e7]
[java11_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/6144/workflows/9cc7928a-4b13-44f5-9ed5-e232a7471658]
[java11_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/6144/workflows/93bd9a38-67fa-4c83-a361-dafc9ebbf16b]


> BytesType should only be compatible with simple scalar types
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-20982
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20982
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Cluster/Schema
>            Reporter: Brandon Williams
>            Assignee: Mikołaj
>            Priority: Normal
>             Fix For: 4.0.x, 4.1.x, 5.0.x, 5.x
>
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> Discovered while backporting CASSANDRA-18760, see 
> https://github.com/datastax/cassandra/commit/b5f7d239ce92db7d9c5f79c69cad0caea67fcb23
> Basically, things like 
> https://github.com/apache/cassandra/blob/trunk/test/unit/org/apache/cassandra/cql3/validation/operations/AlterTest.java#L71
>  shouldn't be allowed to pass, because converting a frozen collection to 
> bytes allows reading the raw bytes, which is nonsensical.
> This was found because the AbstractTypeTest is beefed up 
> [here|https://github.com/datastax/cassandra/blob/main/test/unit/org/apache/cassandra/db/marshal/AbstractTypeTest.java]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to