Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 13020 invoked from network); 10 Mar 2011 01:32:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Mar 2011 01:32:21 -0000 Received: (qmail 36075 invoked by uid 500); 10 Mar 2011 01:32:21 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 36002 invoked by uid 500); 10 Mar 2011 01:32:21 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 35994 invoked by uid 99); 10 Mar 2011 01:32:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2011 01:32:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2011 01:32:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7E2864BE23 for ; Thu, 10 Mar 2011 01:31:59 +0000 (UTC) Date: Thu, 10 Mar 2011 01:31:59 +0000 (UTC) From: "Alan Liang (JIRA)" To: commits@cassandra.apache.org Message-ID: <1135308992.9818.1299720719513.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <386625790.5762.1299610679472.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (CASSANDRA-2288) AES Counter Repair Improvements MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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