[ 
https://issues.apache.org/jira/browse/CASSANDRA-6477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14039757#comment-14039757
 ] 

Benedict commented on CASSANDRA-6477:
-------------------------------------

There's a possible simplification of my proposed algorithm: if we start by 
forcing writes/reads to quorum if they touch a global index, we could simply 
proxy each write deterministically to one other replica, so long as we wait for 
both writes to complete before a single source/table/undelrying replica reports 
success.

We need to bikeshed nomenclature a bit as well: we already have the term 
"primary replica" reserved for regular replication. It will help is we can 
disambiguate between this and the source/underlying table replica(s). So we'd 
have primary table replica, secondary table replica, primary index replica, 
secondary index replica? Or something along those lines.

> Global indexes
> --------------
>
>                 Key: CASSANDRA-6477
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6477
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: API, Core
>            Reporter: Jonathan Ellis
>             Fix For: 3.0
>
>
> Local indexes are suitable for low-cardinality data, where spreading the 
> index across the cluster is a Good Thing.  However, for high-cardinality 
> data, local indexes require querying most nodes in the cluster even if only a 
> handful of rows is returned.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to