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

João Reis commented on CASSGO-98:
---------------------------------

{quote}This should be sufficient to fix the issue, as it is the only place 
where we set the compression flag
{quote}
I believe that's not enough because that flag is actually what's checked to see 
if the segment needs to be compressed.

 
{quote}I can prepare a fix for this if you haven't started yet.
{quote}
I didn't pick this up yet so feel free to do so

> Frame compression header is being set with v5
> ---------------------------------------------
>
>                 Key: CASSGO-98
>                 URL: https://issues.apache.org/jira/browse/CASSGO-98
>             Project: Apache Cassandra Go driver
>          Issue Type: Bug
>          Components: Core
>            Reporter: João Reis
>            Priority: Normal
>             Fix For: 2.x
>
>
> In protocol v5 the frame (v5 envelope) compression header flag should be 
> ignored because compression happens at segment (v5 frame) level. The frame 
> body itself is not compressed so this is a bug.
> This was found when trying to connect to 
> [ZDM-Proxy|https://github.com/datastax/zdm-proxy/] but connecting to a C* 
> 5.0.x cluster works fine (I assume C* is ignoring this flag completely when 
> it's a v5 frame).



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