Skip to content

CASSANDRA-21648: Handle error gracefully when client sends malformed IN-marker bytes - #5111

Open
nivykani wants to merge 2 commits into
apache:trunkfrom
nivykani:extra-bytes
Open

CASSANDRA-21648: Handle error gracefully when client sends malformed IN-marker bytes#5111
nivykani wants to merge 2 commits into
apache:trunkfrom
nivykani:extra-bytes

Conversation

@nivykani

@nivykani nivykani commented Sep 4, 2026

Copy link
Copy Markdown

This patch fixes the regression where 6.0 stopped gracefully handling malformed IN-marker bytes sent by clients. Compare to 5.0: https://github.com/apache/cassandra/blob/cassandra-5.0/src/java/org/apache/cassandra/cql3/Lists.java#L227-L241

This causes an uninformative server-side error, instead of a more useful invalid-request error.

The Cassandra Jira

Comment thread src/java/org/apache/cassandra/cql3/terms/InMarker.java Outdated
Comment thread test/unit/org/apache/cassandra/cql3/terms/InMarkerTest.java Outdated

@frankgh frankgh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

+1

@bbotella

bbotella commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

+1

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.

4 participants