This is the locking implementation: http://commons.apache.org/lang/api-2.4/org/apache/commons/lang/NotImplementedException.html
And you might benefit from reading these: http://www.allthingsdistributed.com/2007/10/amazons_dynamo.html http://www.slideshare.net/benjaminblack/introduction-to-cassandra-replication-and-consistency b On Mon, Aug 16, 2010 at 6:07 AM, Maifi Khan <maifi.k...@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. > Will it lock 6 nodes first and then start writing? Or will it write > one by one and see if it can write to 6 nodes. > How is this implemented? What package does this locking? > Thanks in advance. > > thanks >