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 76385DC95 for ; Fri, 24 Aug 2012 03:38:49 +0000 (UTC) Received: (qmail 55622 invoked by uid 500); 24 Aug 2012 03:38:49 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 55585 invoked by uid 500); 24 Aug 2012 03:38:48 -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 55554 invoked by uid 99); 24 Aug 2012 03:38:47 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2012 03:38:47 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 52C8C2C0A61 for ; Fri, 24 Aug 2012 03:38:47 +0000 (UTC) Date: Fri, 24 Aug 2012 14:38:47 +1100 (NCT) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: <1217651955.9181.1345779527339.JavaMail.jiratomcat@arcas> In-Reply-To: <1632388660.6786.1345747482574.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (CASSANDRA-4573) HSHA doesn't handle large messages gracefully 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-4573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13440908#comment-13440908 ] Jonathan Ellis commented on CASSANDRA-4573: ------------------------------------------- bq. neither does sync sync does enforce frame size > HSHA doesn't handle large messages gracefully > --------------------------------------------- > > Key: CASSANDRA-4573 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4573 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Tyler Hobbs > Assignee: Vijay > Attachments: repro.py > > > HSHA doesn't seem to enforce any kind of max message length, and when messages are too large, it doesn't fail gracefully. > With debug logs enabled, you'll see this: > {{DEBUG 13:13:31,805 Unexpected state 16}} > Which seems to mean that there's a SelectionKey that's valid, but isn't ready for reading, writing, or accepting. > Client-side, you'll get this thrift error (while trying to read a frame as part of {{recv_batch_mutate}}): > {{TTransportException: TSocket read 0 bytes}} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira