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 6287964A6 for ; Thu, 21 Jul 2011 23:00:21 +0000 (UTC) Received: (qmail 53469 invoked by uid 500); 21 Jul 2011 23:00:21 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 53423 invoked by uid 500); 21 Jul 2011 23:00:20 -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 53415 invoked by uid 99); 21 Jul 2011 23:00:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2011 23:00:20 +0000 X-ASF-Spam-Status: No, hits=-2001.1 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2011 23:00:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0D0A64EBCF for ; Thu, 21 Jul 2011 22:59:58 +0000 (UTC) Date: Thu, 21 Jul 2011 22:59:58 +0000 (UTC) From: "Pavel Yaskevich (JIRA)" To: commits@cassandra.apache.org Message-ID: <2132370769.13143.1311289198050.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1478714906.4956.1311102178107.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-2921) Split BufferedRandomAccessFile (BRAF) into Input and Output classes 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-2921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069271#comment-13069271 ] Pavel Yaskevich commented on CASSANDRA-2921: -------------------------------------------- I think we should stay with Reader/Writer introduced by v2 here to support full (expected) BRAF functionality. In the separate issue we can create an in-house implementation of FileOutputStream with support of mark(), resetAndTruncate(...) and truncate(...) methods and replace BRAF.Writer with it where needed, that should be a better design. > Split BufferedRandomAccessFile (BRAF) into Input and Output classes > -------------------------------------------------------------------- > > Key: CASSANDRA-2921 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2921 > Project: Cassandra > Issue Type: Improvement > Components: Core > Reporter: Pavel Yaskevich > Assignee: Pavel Yaskevich > Fix For: 1.0 > > Attachments: CASSANDRA-2921-make-Writer-a-stream.patch, CASSANDRA-2921-v2.patch, CASSANDRA-2921.patch > > > Split BRAF into Input and Output classes to void complexity related to random I/O in "write" mode that we don't need any more, see CASSANDRA-2879. And make implementation more clean and reusable. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira