cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Yaskevich (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-2921) Split BufferedRandomAccessFile (BRAF) into Input and Output classes
Date Thu, 21 Jul 2011 22:59:58 GMT

    [ 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

        

Mime
View raw message