cassandra-commits mailing list archives

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


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:
>             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,
> 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:


View raw message