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

David Capwell commented on CASSANDRA-20234:
-------------------------------------------

took awhile to confirm that the tests failing pass locally and look mostly 
flakey... CI is looking ok-ish to merge 

> CBUtil serialization of UTF8 does not handle all UTF8 properly
> --------------------------------------------------------------
>
>                 Key: CASSANDRA-20234
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20234
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Messaging/Client
>            Reporter: David Capwell
>            Assignee: David Capwell
>            Priority: Normal
>             Fix For: 4.0.x
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> The following error was presented to the user from java driver
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 512 out of bounds 
> for length 6
>       at 
> com.datastax.driver.core.Responses$Result$Kind.fromId(Responses.java:339)
>       at 
> com.datastax.driver.core.Responses$Result$1.decode(Responses.java:306)
>       at 
> com.datastax.driver.core.Responses$Result$1.decode(Responses.java:303)
> {code}
> The issue is that there is an off-by-1 issue with track warnings 
> serialization where the estimated size and the actual size don’t match, which 
> cause the client to read result kind of 512 (which isn’t valid)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to