Skip to content

Conversation

@worryg0d
Copy link
Contributor

@worryg0d worryg0d commented Nov 18, 2025

Patch by Bohdan Siryk; Reviewed by João Reis for CASSGO-98

@worryg0d worryg0d marked this pull request as draft November 18, 2025 15:47
@worryg0d worryg0d marked this pull request as ready for review November 19, 2025 14:15
Copy link
Contributor

@joao-r-reis joao-r-reis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍 , please edit the changelog and update the commit message (don't have to include the JIRA in the first line of the commit message btw, the PR title is enough to sync with JIRA automatically)

…o v5 is being used

Previously, during frame construction, the driver was setting the frame compression flag for each frame if a compressor is set in the ClusterConfig. However, for the Native Protocol 5 version the compression flag is deprecated. While Cassandra 4.0 just ignores this flag, some other third-party applications that rely on v5 proto could experience errors as the body of the frame is not actually compressed.

Now it adds the compression flag only if the compressor is set and proto version < 5.

Patch by Bohdan Siryk; Reviewed by João Reis for CASSGO-98
@worryg0d
Copy link
Contributor Author

Thanks @joao-r-reis. I've updated the commit message and the changelog (totally forgot about this)

@joao-r-reis
Copy link
Contributor

Left CI running, I'll check on it tomorrow and merge.

@worryg0d
Copy link
Contributor Author

Cool, thanks

@joao-r-reis joao-r-reis merged commit 0089073 into apache:trunk Nov 20, 2025
72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants