Skip to content

CASSANDRA-21648: Handle error gracefully when client sends malformed IN-marker bytes (6.0) - #5112

Open
nivykani wants to merge 2 commits into
apache:cassandra-6.0from
nivykani:extra-bytes-6.0
Open

CASSANDRA-21648: Handle error gracefully when client sends malformed IN-marker bytes (6.0)#5112
nivykani wants to merge 2 commits into
apache:cassandra-6.0from
nivykani:extra-bytes-6.0

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

@maedhroz

maedhroz commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

See comments on #5111 (as I think they also apply here). Also, the base branch here should be cassandra-6.0?

@nivykani
nivykani changed the base branch from trunk to cassandra-6.0 September 8, 2026 22:35
@nivykani

nivykani commented Sep 8, 2026

Copy link
Copy Markdown
Author

Thanks for catching that! Switched base branch and fixed comments.

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