Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 143DB18E48 for ; Wed, 26 Aug 2015 22:37:46 +0000 (UTC) Received: (qmail 47219 invoked by uid 500); 26 Aug 2015 22:37:45 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 47188 invoked by uid 500); 26 Aug 2015 22:37:45 -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 47177 invoked by uid 99); 26 Aug 2015 22:37:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Aug 2015 22:37:45 +0000 Date: Wed, 26 Aug 2015 22:37:45 +0000 (UTC) From: "Benedict (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-10203) UnbufferedDataOutputstreamPlus.writeUTF fails for 0 length and > 8190 length strings MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-10203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14715648#comment-14715648 ] Benedict commented on CASSANDRA-10203: -------------------------------------- +1 for the fix to commit and get release rolling again, but after that, I think we can: # Make the whole of that runLength logic a little clearer # Take a look at why our randomised testing didn't catch this. It looks like we're constraining the domain of randomisation unnecessarily with the phrase "the very model of a modern major general ..." - which, while pleasing to the eye, can probably be revisited to improve the utility of the test. > UnbufferedDataOutputstreamPlus.writeUTF fails for 0 length and > 8190 length strings > ------------------------------------------------------------------------------------ > > Key: CASSANDRA-10203 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10203 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Ariel Weisberg > Assignee: Ariel Weisberg > Fix For: 2.2.1, 3.0 beta 2 > > > No length is written for 0 length strings. Strings >8190 fail. -- This message was sent by Atlassian JIRA (v6.3.4#6332)