You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Yang <te...@gmail.com> on 2011/07/22 21:24:02 UTC
CL=N-1?
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
Re: CL=N-1?
Posted by Edward Capriolo <ed...@gmail.com>.
On Fri, Jul 22, 2011 at 3:24 PM, Yang <te...@gmail.com> 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
>
There is no n-1 CL. The numbered levels are ONE,TWO,THREE. There has been
some talk of this. By pairing READ/WRITE levels you can normally get an
effect "close enough" to what you are looking for. In your case QUORUM will
write and read with a single FAILED node.
Also if your lookup tables are not changing often not having n-1 is
negligible.