Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 44587 invoked from network); 29 Jul 2010 13:15:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Jul 2010 13:15:44 -0000 Received: (qmail 9940 invoked by uid 500); 29 Jul 2010 13:15:44 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 9829 invoked by uid 500); 29 Jul 2010 13:15:43 -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 9586 invoked by uid 99); 29 Jul 2010 13:15:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jul 2010 13:15:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jul 2010 13:15:40 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6TDFJiR014447 for ; Thu, 29 Jul 2010 13:15:19 GMT Message-ID: <10369227.66901280409319191.JavaMail.jira@thor> Date: Thu, 29 Jul 2010 09:15:19 -0400 (EDT) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Commented: (CASSANDRA-1258) rebuild indexes after streaming In-Reply-To: <26007853.244281278531530786.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893606#action_12893606 ] Jonathan Ellis commented on CASSANDRA-1258: ------------------------------------------- thanks but now it occurs to me, since the root of the problem is SSTableReader, shouldn't we push the comparator in there, instead of using if statements to avoid calling SSTR.getComparator? sorry for the run-around... > rebuild indexes after streaming > ------------------------------- > > Key: CASSANDRA-1258 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1258 > Project: Cassandra > Issue Type: Sub-task > Components: Core > Reporter: Jonathan Ellis > Assignee: Nate McCall > Fix For: 0.7 beta 1 > > Attachments: 1258-v4.txt, 1258-v5.txt, 1258-v6.txt, 1258-v7.txt, trunk-1258-src-2.txt, trunk-1258-src-3.txt > > > since index CFSes are "private," they won't be streamed with other sstables. which is good, because the normal partitioner logic wouldn't stream the right parts anyway. > seems like the right solution is to extend SSTW.maybeRecover to rebuild indexes as well. (this has the added benefit of being able to use streaming as a relatively straightforward "bulk loader.") -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.