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

Todd Nine commented on CASSANDRA-1235:
--------------------------------------

While I'm in agreement with Uwe, my bigger concern is that two tests that are 
functionally equivalent return different results based on the mutation 
operations.  Performing a batch mutate with the same insertion data as a single 
write should insert and the same bytes.  Unfortunately batch mutate appears to 
be randomly dropping bytes.  If it were a true UTF8 issue, wouldn't it drop 
bytes on the single column writes as well batch mutate?

> BytesType and batch mutate causes encoded bytes of non-printable characters 
> to be dropped
> -----------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1235
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1235
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.6
>         Environment: Java 1.6 sun JDK 
> Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
> Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, 
> Ubuntu 10.04 64 bit
>            Reporter: Todd Nine
>            Priority: Critical
>             Fix For: 0.6.4
>
>         Attachments: TestEncodedKeys.java
>
>
> When running the two tests, individual column insert works with the values 
> generated.  However, batch insert with the same values causes an encoding 
> failure on the key.  It appears bytes are dropped from the end of the byte 
> array that represents the key value.  See the attached unit test

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to