cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-3930) CommitLogSegment uses RandomAccessFile which doesnt have fadvice
Date Thu, 14 Mar 2013 20:08:13 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-3930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Ellis updated CASSANDRA-3930:
--------------------------------------

    Fix Version/s:     (was: 2.0)
    
> CommitLogSegment uses RandomAccessFile which doesnt have fadvice
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-3930
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3930
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: 1.0.7
>            Reporter: Vijay
>            Assignee: Vijay
>            Priority: Minor
>
> Wondering if we even need MMap file in this case as it is always sequential.
> If yes, we need it we might want to replace 
> logFileAccessor = new RandomAccessFile(logFile, "rw");
> to
> logFileAccessor = SequentialWriter.open(logFile, true);
> in CommitLogSegment

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message