cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Liang (JIRA)" <>
Subject [jira] Created: (CASSANDRA-2288) AES Counter Repair Improvements
Date Tue, 08 Mar 2011 18:57:59 GMT
AES Counter Repair Improvements

                 Key: CASSANDRA-2288
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
    Affects Versions: 0.8
            Reporter: Alan Liang
            Assignee: Alan Liang

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

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

View raw message