You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2011/03/14 22:36:29 UTC

[jira] Commented: (CASSANDRA-2288) AES Counter Repair Improvements

    [ https://issues.apache.org/jira/browse/CASSANDRA-2288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006644#comment-13006644 ] 

Hudson commented on CASSANDRA-2288:
-----------------------------------

Integrated in Cassandra #776 (See [https://hudson.apache.org/hudson/job/Cassandra/776/])
    

> AES Counter Repair Improvements
> -------------------------------
>
>                 Key: CASSANDRA-2288
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2288
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.8
>            Reporter: Alan Liang
>            Assignee: Alan Liang
>            Priority: Minor
>             Fix For: 0.8
>
>         Attachments: 2288-rebase.diff, CASSANDRA-2288-aes_counter_repair_improvements.diff
>
>
> A few issues found for AES Counter Repair in AESCommutativeRowIndexer#doIndexing:
> - sync() being called for each row in sstable
> - because the sstable is rebuilt inline (read and write on same file), this causes seeking back and forth of write and read positions which causes many flushes
> - BufferedRandomAccessFile#setLength does not work with buffers
> Fixed:
> - remove sync() until end
> - use two BufferedRandomAccessFile's one for reader, one for writer
> - cache length of reader file
> - implement BufferedRandomAccessFile#setLength to work with buffer

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira