[
https://issues.apache.org/jira/browse/CASSANDRA-2921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069258#comment-13069258
]
Pavel Yaskevich commented on CASSANDRA-2921:
--------------------------------------------
Can we go only with v2 patch by now? I'm a bit concerned about design of the
Writer: it should be able to seek back if we want to support resetAndTruncate()
so there is no way to go away from using RAF inside of Writer that I see. I
have tried to use FileOutputStream and it's channel but it didn't go so well.
> 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