You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2010/05/28 19:04:37 UTC

[jira] Resolved: (CASSANDRA-892) Hinted Handoff can send key from different CFs to target

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

Jonathan Ellis resolved CASSANDRA-892.
--------------------------------------

    Fix Version/s:     (was: 0.7)
       Resolution: Won't Fix

superseded by CASSANDRA-1142

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