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

Reply via email to