Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E49FAD122 for ; Thu, 8 Nov 2012 22:44:19 +0000 (UTC) Received: (qmail 78697 invoked by uid 500); 8 Nov 2012 22:44:17 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 78661 invoked by uid 500); 8 Nov 2012 22:44:17 -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 78653 invoked by uid 99); 8 Nov 2012 22:44:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2012 22:44:17 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kohlisankalp@gmail.com designates 209.85.216.172 as permitted sender) Received: from [209.85.216.172] (HELO mail-qc0-f172.google.com) (209.85.216.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2012 22:44:09 +0000 Received: by mail-qc0-f172.google.com with SMTP id b25so2445047qca.31 for ; Thu, 08 Nov 2012 14:43:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=hh3EzlxOHpztZjQvpH9yZk991GrdkFASztFOOueg09I=; b=S4lRb8DFCj4mbOmCX/SxwImEVg3maj09HGH40BZ6YPgz+pfigPprGdj6mOYVN+wHYt IcxqStbNoluaAnrRB1wzMrt/k1DGUu8RWLdAAjXfMj5er+bmoGn9ZXUnt7sbqOH4djAh 3S8CpNAba53FtSzqG+1KOsQ4JhIMg3BsCO7bObxv8lYtTmQelMXeV2b7i84s6u8yQc+2 3JyU04JQYHTcVF0J70grmhwPO50za1p3vGHDBtINMkRqGl3iiQs+D06ZMdEjb+ir5fFQ raqT0ZruzN9okhnfAMDNOA9KcUTj9Dh09neOnCsksZZWBYAoj2LPh/c+XIZaADiB08IA zBhA== Received: by 10.229.136.142 with SMTP id r14mr3286366qct.96.1352414628826; Thu, 08 Nov 2012 14:43:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.49.96.168 with HTTP; Thu, 8 Nov 2012 14:43:28 -0800 (PST) From: sankalp kohli Date: Thu, 8 Nov 2012 14:43:28 -0800 Message-ID: Subject: Read during digest mismatch To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=00248c71180d8a4e7d04ce039111 X-Virus-Checked: Checked by ClamAV on apache.org --00248c71180d8a4e7d04ce039111 Content-Type: text/plain; charset=ISO-8859-1 Hi, Lets say I am reading with consistency TWO and my replication is 3. The read is eligible for global read repair. It will send a request to get data from one node and a digest request to two. If there is a digest mismatch, what I am reading from the code looks like it will get the data from all three nodes and do a resolve of the data before returning to the client. Is it correct or I am readind the code wrong? Also if this is correct, look like if the third node is in other DC, the read will slow down even when the consistency was TWO? Thanks, Sankalp --00248c71180d8a4e7d04ce039111 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,
=A0 =A0 Lets say I am reading with consistency TWO and my replicati= on is 3. The read is eligible for global read repair. It will send a reques= t to get data from one node and a digest request to two.=A0
If th= ere is a digest mismatch, what I am reading from the code looks like it wil= l get the data from all three nodes and do a resolve of the data before ret= urning to the client.

Is it correct or I am readind the code wrong?

Also if this is correct, look like if the third node is in = other DC, the read will slow down even when the consistency was TWO?

Thanks,
Sankalp


=
--00248c71180d8a4e7d04ce039111--