Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 14477 invoked from network); 24 Feb 2011 12:47:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Feb 2011 12:47:43 -0000 Received: (qmail 37941 invoked by uid 500); 24 Feb 2011 12:47:41 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 37788 invoked by uid 500); 24 Feb 2011 12:47:38 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 37771 invoked by uid 99); 24 Feb 2011 12:47:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Feb 2011 12:47:37 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of chirayithaj@gmail.com designates 209.85.161.44 as permitted sender) Received: from [209.85.161.44] (HELO mail-fx0-f44.google.com) (209.85.161.44) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Feb 2011 12:47:26 +0000 Received: by fxm15 with SMTP id 15so487692fxm.31 for ; Thu, 24 Feb 2011 04:47:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=h+CzKMFmSjrrS6un9FS8rGkZPJys4cTCx7HsbsL3TS4=; b=It5kCR5mJiicHxfPdTRjFjLLo60GVXTwFapd171GbXjp37YmyUY/+Pa0BdJEukrL4B w1wcMzF9W2kI3B21NqG+LxAP42uCzSTe1hanWIATHZ5cIzlVbeGFlhm41iJLiDUEKvUG piFs9zt9k5NH3ZCGSbHiKzZ9L+U/2fX93ai5w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=XFWvMKKPblygGCMz3V/cvoShZcNpx3TlCLbQV8RAxWxB9bu/ReQjahSrBexYDUMtoG 9KgSNPCXESiB7iQ/kuglQ43kUtmqNoZ8M4QIyNAqQzO4EsOlekqaWHsqqXWDd4BVFiYW nLeZRB1pufvulBr0vzfXYaj41tV4Xg31xt7Z4= MIME-Version: 1.0 Received: by 10.223.86.199 with SMTP id t7mr975484fal.29.1298551626193; Thu, 24 Feb 2011 04:47:06 -0800 (PST) Received: by 10.223.151.2 with HTTP; Thu, 24 Feb 2011 04:47:06 -0800 (PST) Date: Thu, 24 Feb 2011 06:47:06 -0600 Message-ID: Subject: New thread for : How does Cassandra handle failure during synchronous writes From: Anthony John To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=20cf3054a6bb66dc93049d069ce9 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3054a6bb66dc93049d069ce9 Content-Type: text/plain; charset=ISO-8859-1 >>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 --20cf3054a6bb66dc93049d069ce9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
>>c. Read with CL =3D QUORUM. If read= hits node1 and node2/node3, new data that was written to node1 will be ret= urned.

>>In this case - N1 will be identified as a disc= repancy 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&quo= t; 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
--20cf3054a6bb66dc93049d069ce9--