New thread for : How does Cassandra handle failure during synchronous writes

2011-02-24 Thread Anthony John
c. Read with CL = QUORUM. If read hits node1 and node2/node3, new data that was written to node1 will be returned. In this case - N1 will be identified as a discrepancy and the change will be discarded via read repair [Naren] How will Cassandra know this is a discrepancy? Because at Q - only N1

Re: New thread for : How does Cassandra handle failure during synchronous writes

2011-02-24 Thread Narendra Sharma
You are missing the point. The coordinator node that is handling the request won't wait for all the nodes to return their copy/digest of data. It just wait for Q (RF/2+1) nodes to return. This is the reason I explained two possible scenarios. Further, on what basis Cassandra will know that the

Re: New thread for : How does Cassandra handle failure during synchronous writes

2011-02-24 Thread Ritesh Tijoriwala
thanks Narendra. I read again the wiki quote you pasted below and now it does make sense. Cassandra's design behavior is to propagate the failed write if it was ever written successfully to atleast one server. I was having hard time trying to work around this but I guess I am starting to think the

Re: How does Cassandra handle failure during synchronous writes

2011-02-24 Thread Jonathan Ellis
-apache-org.3065146.n2.nabble.com/How-does-Cassandra-handle-failure-during-synchronous-writes-tp6055152p6055152.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com. -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source

Re: How does Cassandra handle failure during synchronous writes

2011-02-23 Thread Aaron Morton
.3065146.n2.nabble.com/How-does-Cassandra-handle-failure-during-synchronous-writes-tp6055152p6055152.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com.

Re: How does Cassandra handle failure during synchronous writes

2011-02-23 Thread Aaron Morton
this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/How-does-Cassandra-handle-failure-during-synchronous-writes-tp6055152p6055152.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com.

Re: How does Cassandra handle failure during synchronous writes

2011-02-23 Thread Dave Revell
happens to the completed writes on X (W X) nodes? Thanks, Ritesh -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/How-does-Cassandra-handle-failure-during-synchronous-writes-tp6055152p6055152.html Sent from the cassandra-u

Re: How does Cassandra handle failure during synchronous writes

2011-02-23 Thread Ritesh Tijoriwala
, Ritesh -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/How-does-Cassandra-handle-failure-during-synchronous-writes-tp6055152p6055152.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com. /quote

Re: How does Cassandra handle failure during synchronous writes

2011-02-23 Thread Anthony John
-apache-org.3065146.n2.nabble.com/How-does-Cassandra-handle-failure-during-synchronous-writes-tp6055152p6055152.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com. /quote Quoted from: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/How

Re: How does Cassandra handle failure during synchronous writes

2011-02-23 Thread Ritesh Tijoriwala
-apache-org.3065146.n2.nabble.com/How-does-Cassandra-handle-failure-during-synchronous-writes-tp6055152p6055152.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com. /quote Quoted from: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/How

Re: How does Cassandra handle failure during synchronous writes

2011-02-23 Thread Anthony John
in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/How-does-Cassandra-handle-failure-during-synchronous-writes-tp6055152p6055152.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com. /quote Quoted from: http://cassandra-user

Re: How does Cassandra handle failure during synchronous writes

2011-02-23 Thread Ritesh Tijoriwala
X) nodes? Thanks, Ritesh -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/How-does-Cassandra-handle-failure-during-synchronous-writes-tp6055152p6055152.html Sent from the cassandra-u...@incubator.apache.org mailing list archive

Re: How does Cassandra handle failure during synchronous writes

2011-02-23 Thread Narendra Sharma
-Cassandra-handle-failure-during-synchronous-writes-tp6055152p6055152.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com. /quote Quoted from: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/How-does-Cassandra-handle-failure-during

Re: How does Cassandra handle failure during synchronous writes

2011-02-23 Thread Ritesh Tijoriwala
operation but what happens to the completed writes on X (W X) nodes? Thanks, Ritesh -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/How-does-Cassandra-handle-failure-during-synchronous-writes-tp6055152p6055152.html Sent from

Re: How does Cassandra handle failure during synchronous writes

2011-02-23 Thread Anthony John
.3065146.n2.nabble.com/How-does-Cassandra-handle-failure-during-synchronous-writes-tp6055152p6055152.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com. /quote Quoted from: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/How-does

Re: How does Cassandra handle failure during synchronous writes

2011-02-23 Thread Ritesh Tijoriwala
-during-synchronous-writes-tp6055152p6055152.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com. /quote Quoted from: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/How-does-Cassandra-handle-failure-during-synchronous-writes

Re: How does Cassandra handle failure during synchronous writes

2011-02-23 Thread Narendra Sharma
this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/How-does-Cassandra-handle-failure-during-synchronous-writes-tp6055152p6055152.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com. /quote Quoted from: http