cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <>
Subject Re: CL=N-1?
Date Sun, 24 Jul 2011 22:25:44 GMT
Sounds like you want RF == N more than CL == N-1. You could create a separate KS with RF ==
N and then just write at CL = QUORUM, the write will be sent to every UP replica. 

For background: The System Keyspace uses the o.a.c.locator.LocalStrategy that *only* stores
data on the node the mutation is sent to. So there is *no replication*, the system takes care
of ensuring data that needs to be replicated (i.e. schema defs) are replicated via  higher
level features. Using the LocalStrategy yourself is probably a bad idea. 


Aaron Morton
Freelance Cassandra Developer

On 23 Jul 2011, at 07:24, Yang wrote:

> is there such an option?
> in some cases I want to distribute some small lookup tables to all the
> nodes, so that everyone has a local copy, and loaded in memory. so the
> lookup is fast. supposedly I want to write to all N nodes, but that
> exposes me to failure in case of just one node down.
> so I'd like to declare success to N-1 nodes.
> thanks
> Yang

View raw message