Skip to content

Conversation

@joao-r-reis
Copy link
Contributor

Driver was automatically setting beta flag when using v5 protocol which causes issues when trying to connect to Cassandra versions that supported beta v5 like 3.11.

Patch by João Reis; reviewed by TBD for CASSGO-88

@lukasz-antoniak lukasz-antoniak self-requested a review September 5, 2025 13:29
Copy link
Member

@lukasz-antoniak lukasz-antoniak left a comment

Choose a reason for hiding this comment

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

Tested locally with 3.11.7 and connection can be established without configuring the protocol version.

Driver was automatically setting beta flag when using v5 protocol which causes issues when trying to connect to Cassandra
versions that supported beta v5 like 3.11.

Also, this patch makes the protocol version discovery process more resilient. Still not a long term solution since long term
we should make the protocol version negotiation work like in the java driver.

Patch by João Reis; reviewed by Lukasz Antoniak for CASSGO-88
@joao-r-reis joao-r-reis merged commit d79b595 into apache:trunk Sep 25, 2025
120 of 144 checks passed
@joao-r-reis joao-r-reis deleted the cassgo-88 branch September 25, 2025 15:21
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