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

Alex Petrov commented on CASSANDRA-15946:
-----------------------------------------

bq. no wonder, why would Cassandra 4.0 need to be able to serialize Cassandra 
3.0 payloads

4.0 has to be able to serialize 3.0 payloads since it has to be able to 
communicate in mixed mode. However, serializer for request response is set to 
null. 

Generally, there should not be anything specific to serialization in in-jvm 
dtests. If you could describe the communication problem in more details, and 
attach a minimal reproduce to the patch, it would be easier to understand 
what's going on. Main thing I'm trying to rule out here is that we don't _also_ 
have the same problem in real clusters. I did try the test from 
{{jwest/15833-3.11}} but I'm not sure how that would help since the problem is 
between 3.x and 4.0 here. 

> Communication problem between C* 3 and C* 4 in in-jvm dtests
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-15946
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15946
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/dtest
>            Reporter: Jacek Lewandowski
>            Assignee: Jacek Lewandowski
>            Priority: Normal
>
> There is a communication problem when testing upgrades using in-JVM dtest 
> between Cassandra 3 and 4. 
> In a method {{registerInboundFilter}} of {{Instance}}, we get a message which 
> was just received and we prepare it for filtering as part of which, we 
> serialize the payload again. This is fine when dealing with incoming 
> Cassandra 4 message, because we can serialize it. However when we get the 
> Cassandra 3 message, which uses a different protocol, and we get something 
> like {{REQUEST_RSP}}, we can surely deserialize it through some special 
> deserialization path, but we cannot serialize the payload for it as there is 
> no serializer defined for {{REQUEST_RSP}} - no wonder, why would Cassandra 
> 4.0 need to be able to serialize Cassandra 3.0 payloads?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to