Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 61193 invoked from network); 19 Nov 2009 21:20:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Nov 2009 21:20:03 -0000 Received: (qmail 40694 invoked by uid 500); 19 Nov 2009 21:20:03 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 40671 invoked by uid 500); 19 Nov 2009 21:20:03 -0000 Mailing-List: contact cassandra-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-commits@incubator.apache.org Received: (qmail 40651 invoked by uid 99); 19 Nov 2009 21:20:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2009 21:20:03 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2009 21:20:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8CE4D234C045 for ; Thu, 19 Nov 2009 13:19:39 -0800 (PST) Message-ID: <1705455929.1258665579562.JavaMail.jira@brutus> Date: Thu, 19 Nov 2009 21:19:39 +0000 (UTC) From: "Jun Rao (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Created: (CASSANDRA-565) BufferedRandomAccessFile.read doesn't always do full reads 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 BufferedRandomAccessFile.read doesn't always do full reads ---------------------------------------------------------- Key: CASSANDRA-565 URL: https://issues.apache.org/jira/browse/CASSANDRA-565 Project: Cassandra Issue Type: Bug Components: Core Reporter: Jun Rao Assignee: Jun Rao Attachments: issue565.patchev1 BufferedRandomAccessFile.read may read fewer bytes than required, even when EOF is not reached. This breaks commit log recovery, which assumes that when a read returns less than required, the EOF is reached. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.