Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 1171 invoked from network); 27 Dec 2010 22:45:20 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Dec 2010 22:45:20 -0000 Received: (qmail 84186 invoked by uid 500); 27 Dec 2010 22:45:18 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 84156 invoked by uid 500); 27 Dec 2010 22:45:18 -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 84148 invoked by uid 99); 27 Dec 2010 22:45:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Dec 2010 22:45:18 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of narendra.sharma@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; Mon, 27 Dec 2010 22:45:11 +0000 Received: by fxm9 with SMTP id 9so8754845fxm.31 for ; Mon, 27 Dec 2010 14:44:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=nokiNjCm9gnpKWVRHOZzjnXIfj3ptb6nLysPJIup2Rk=; b=AWbF/J3LBEFGgXSzE8seVHKdrGP0SquG8Ga1UHH8E2o71uncPIdJYsBSYr34WV5sPf UT/jzChwAmPJCY9dRP1Ef5MKgJi8BiubGliu1lVDvZ5A357qm72hzi+gpNN1H2FmVtmy AKmNWI5DgNh2dSPmIZOBOsKNwot5Zfi6kfklg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=gTPIf59d3i7920sTyj43hisU+Ws7++378uo9is8Iv3m7apUVeHnW7l66Lw5j98KEfU wHQfjBjbg7jdt+Q3BwTdkB4h3rE1Qj250AkUvHsnmE1w/Poeszh/m/jDNYzzTTKSuZB+ 2TQei7uRLdHJ6J8ZzJjFP/Z4vhlwSopqX/rjs= MIME-Version: 1.0 Received: by 10.223.72.6 with SMTP id k6mr7521277faj.46.1293489891322; Mon, 27 Dec 2010 14:44:51 -0800 (PST) Received: by 10.223.147.199 with HTTP; Mon, 27 Dec 2010 14:44:51 -0800 (PST) In-Reply-To: References: Date: Mon, 27 Dec 2010 14:44:51 -0800 Message-ID: Subject: Re: read repair across datacenters? From: Narendra Sharma To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=20cf3054a71f7e2c8f04986c1545 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3054a71f7e2c8f04986c1545 Content-Type: text/plain; charset=ISO-8859-1 The comment in the cassandra.yaml says: "specifies the probability with which read repairs should be invoked on * non-quorum* reads" Does this mean RR chance is applicable only for non-quorum reads? Another question on same topic: Will RR use one of the node in the other datacenter as coordinator instead of sending the data to each replica (assuming they have old data)? This is to reduce the amount of network traffic between datacenters. -Naren On Mon, Dec 27, 2010 at 1:26 PM, Brandon Williams wrote: > On Mon, Dec 27, 2010 at 3:17 PM, Shu Zhang wrote: > >> Hi, I'm pretty new to cassandra and read a couple of contradictory things >> on this topic. Does read repair get triggered across datacenters if you >> query with a consistency level of local_quorum? >> > > If the RR chance is 100% (default), it's triggered regardless of CL, which > only controls how synchronously the repair is performed. > > -Brandon > --20cf3054a71f7e2c8f04986c1545 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable The comment in the cassandra.yaml says:
"specifies the probability = with which read repairs should be invoked on non-quorum reads"<= br>
Does this mean RR chance is applicable only for non-quorum reads?


Another question on same topic:
Will RR use one of the node = in the other datacenter as coordinator instead of sending the data to each = replica (assuming they have old data)? This is to reduce the amount of netw= ork traffic between datacenters.

-Naren

On Mon, Dec 27, 2010 at 1:26 P= M, Brandon Williams <driftx@gmail.com> wrote:
On Mon, Dec 27, 2010 at 3:17 P= M, Shu Zhang <szhang@mediosystems.com> wrote:
Hi, I'm pretty new to cassandra and read a couple of contradictory thin= gs on this topic. Does read repair get triggered across datacenters if you = query with a consistency level of local_quorum?

If the RR chance is 100% (default), it's triggered reg= ardless of CL, which only controls how synchronously the repair is performe= d.

-Brandon

--20cf3054a71f7e2c8f04986c1545--