Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 21837 invoked from network); 28 Jun 2010 15:31:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Jun 2010 15:31:15 -0000 Received: (qmail 83527 invoked by uid 500); 28 Jun 2010 15:31:15 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 83446 invoked by uid 500); 28 Jun 2010 15:31:14 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 83433 invoked by uid 99); 28 Jun 2010 15:31:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jun 2010 15:31:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jun 2010 15:31:12 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5SFUoXd019266 for ; Mon, 28 Jun 2010 15:30:50 GMT Message-ID: <8736552.93461277739050085.JavaMail.jira@thor> Date: Mon, 28 Jun 2010 11:30:50 -0400 (EDT) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Updated: (CASSANDRA-1235) BytesType and batch mutate causes encoded bytes of non-printable characters to be dropped In-Reply-To: <32040078.82191277694169699.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-1235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-1235: -------------------------------------- Fix Version/s: 0.6.4 Affects Version/s: 0.6 (was: 0.6.2) Priority: Critical (was: Blocker) Please don't mess with the issue metadata. > 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.