Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 1225 invoked from network); 14 Mar 2010 17:48:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Mar 2010 17:48:34 -0000 Received: (qmail 20175 invoked by uid 500); 14 Mar 2010 17:47:50 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 20159 invoked by uid 500); 14 Mar 2010 17:47:50 -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 20151 invoked by uid 500); 14 Mar 2010 17:47:50 -0000 Delivered-To: apmail-incubator-cassandra-commits@incubator.apache.org Received: (qmail 20148 invoked by uid 99); 14 Mar 2010 17:47:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Mar 2010 17:47:50 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Mar 2010 17:47:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 23901234C045 for ; Sun, 14 Mar 2010 17:47:27 +0000 (UTC) Message-ID: <1699173473.256531268588847131.JavaMail.jira@brutus.apache.org> Date: Sun, 14 Mar 2010 17:47:27 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Updated: (CASSANDRA-892) Hinted Handoff can send key from different CFs to target In-Reply-To: <639227098.252721268551527379.JavaMail.jira@brutus.apache.org> 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-892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-892: ------------------------------------- Fix Version/s: 0.7 > Hinted Handoff can send key from different CFs to target > -------------------------------------------------------- > > Key: CASSANDRA-892 > URL: https://issues.apache.org/jira/browse/CASSANDRA-892 > Project: Cassandra > Issue Type: Bug > Affects Versions: 0.6 > Reporter: Chris Goffinet > Priority: Minor > Fix For: 0.7 > > > If a hint is created for X target, and a key is in multiple CF's, we collect the data for both and send to target. Having HH on-disk specify the CF used for key would avoid this. > Table table = Table.open(tableName); > RowMutation rm = new RowMutation(tableName, key); > for (ColumnFamilyStore cfstore : table.getColumnFamilyStores()) > { > ColumnFamily cf = cfstore.getColumnFamily(new IdentityQueryFilter(key, new QueryPath(cfstore.getColumnFamilyName()))); > if (cf != null) { > rm.add(cf); > } > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.