incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan King <r...@twitter.com>
Subject Re: Locking in cassandra
Date Mon, 16 Aug 2010 16:46:48 GMT
On Mon, Aug 16, 2010 at 6:07 AM, Maifi Khan <maifi.khan@gmail.com> wrote:
> Hi
> How is the locking implemented in cassandra? Say, I have 10 nodes and
> I want to write to 6 nodes which is (n+1)/2.

Not to be too pedantic, but you're misunderstanding how to use
cassandra. When we talk about 'n' we mean the number of replicas for a
given piece of data, not the total number of nodes. If you have 10
nodes, you shouldn't be writing a piece of data to 6 of them.

-ryan

Mime
View raw message