cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Liang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-2288) AES Counter Repair Improvements
Date Thu, 10 Mar 2011 01:31:59 GMT

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

Alan Liang updated CASSANDRA-2288:
----------------------------------

    Attachment: CASSANDRA-2288-aes_counter_repair_improvements.diff

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

Mime
View raw message