cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony John <chirayit...@gmail.com>
Subject New thread for : How does Cassandra handle failure during synchronous writes
Date Thu, 24 Feb 2011 12:47:06 GMT
>>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 will have the "new data" and other other nodes won't.
This lack of consistency on N! will be detected and repaired. The value that
meets Q - the values from N2-3 - will be returned.

HTH

Mime
View raw message