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

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

[CASSANDRA-20982-4.0|https://github.com/instaclustr/cassandra/tree/CASSANDRA-20982-4.0]
{noformat}
java11_pre-commit_tests                         
  ✓ j11_build                                         2m 2s
  ✓ j11_cqlsh-dtests-py2-no-vnodes                   5m 27s
  ✓ j11_cqlsh-dtests-py2-with-vnodes                  7m 1s
  ✓ j11_cqlsh_dtests_py3                             5m 19s
  ✓ j11_cqlsh_dtests_py311                            6m 9s
  ✓ j11_cqlsh_dtests_py311_vnode                     5m 54s
  ✓ j11_cqlsh_dtests_py38                            5m 46s
  ✓ j11_cqlsh_dtests_py38_vnode                      5m 36s
  ✓ j11_cqlsh_dtests_py3_vnode                       5m 53s
  ✓ j11_cqlshlib_tests                               8m 10s
  ✓ j11_dtests_vnode                                44m 41s
  ✓ j11_jvm_dtests                                   14m 6s
  ✓ j11_unit_tests                                   9m 52s
  ✓ j11_unit_tests_repeat                           10m 42s
  ✕ j11_dtests                                      54m 24s
      refresh_test.TestRefresh test_refresh_deadlock_startup
java11_separate_tests                            
java8_pre-commit_tests                          
java8_separate_tests                             
{noformat}

[java11_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/6147/workflows/a84d4d11-a013-4695-8a52-0e7dcb3b54c7]
[java11_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/6147/workflows/bbce233c-370e-44be-95a6-7d864b85b6ac]
[java8_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/6147/workflows/ab4415fd-9c92-497c-91cd-452f6a0ee1a6]
[java8_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/6147/workflows/fb603325-b172-4fce-bcb8-2cd21df3e7c2]


> 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