cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-892) Hinted Handoff can send key from different CFs to target
Date Sun, 14 Mar 2010 17:47:27 GMT

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


Mime
View raw message