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 35272DF7C for ; Fri, 30 Nov 2012 12:20:17 +0000 (UTC) Received: (qmail 40708 invoked by uid 500); 30 Nov 2012 12:20:14 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 40478 invoked by uid 500); 30 Nov 2012 12:20:12 -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 40447 invoked by uid 99); 30 Nov 2012 12:20:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2012 12:20:10 +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 (athena.apache.org: domain of sylvain@datastax.com designates 209.85.220.170 as permitted sender) Received: from [209.85.220.170] (HELO mail-vc0-f170.google.com) (209.85.220.170) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2012 12:20:04 +0000 Received: by mail-vc0-f170.google.com with SMTP id fl11so14434713vcb.29 for ; Fri, 30 Nov 2012 04:19:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=bAXryTYLvhsV2mEJ3PZdQqqPWGyqCQxgfekxR/uP0fg=; b=GsIc0VrihL9iUM0ybISD306BThxyZuI4bM+wVT/FYhB1fncvAzME1HkCfdesTju+LQ kFwgjLnPeQM8weVT+rsADNDfRXNaFCwPNEbT9mcWys4CuuUrgcolLDj3i4Wo0cn8mWe8 NnV2ZmGa3s4JE0uoXRzx6attgt1Geu/ikKjvmugjpZ+jATZBUtT2U9f91X29Qfv097KN IL9AIuS2CF9+54LS63znMLsbApqBeHYc3CM5OoMdDmDP0EF59Nwm50k14t0Vv7K0owaK FbEjxcRwJcWtxTkfSvHAG1mo8quGq/iKeLAzpO47FDNWDvDRNEirKdn9APMzdVKQEDOy 6kvg== MIME-Version: 1.0 Received: by 10.52.26.133 with SMTP id l5mr702614vdg.132.1354277982982; Fri, 30 Nov 2012 04:19:42 -0800 (PST) Received: by 10.58.64.198 with HTTP; Fri, 30 Nov 2012 04:19:42 -0800 (PST) In-Reply-To: References: Date: Fri, 30 Nov 2012 13:19:42 +0100 Message-ID: Subject: Re: failing reconcilliation during counter increment? From: Sylvain Lebresne To: "user@cassandra.apache.org" Content-Type: multipart/alternative; boundary=20cf307c9e741a53a704cfb56ad0 X-Gm-Message-State: ALoCoQmklmdRX/Ai0tPqt+Fw++QJUbywOe0OMVu4STNwG4674pykapIN1mV6Q5tT5sBh2wy01FFl X-Virus-Checked: Checked by ClamAV on apache.org --20cf307c9e741a53a704cfb56ad0 Content-Type: text/plain; charset=ISO-8859-1 > > To my understanding client will not be notified because this read step is > asynchronously. Yes, though for the record it's actually synchronous if you use anything else than CL.ONE. > Also the other replica cannot be updated properly (replicate-on-write > stage is backing up). > Question is: > - Will the counter value eventually become correct? > Yes, provided you either have read repair enabled or run repair at some point. Meaning that if the read gets dropped, there is no hinted hand-off involved so read repair and repair are the only things that will make things eventually consistent (but they will). > - Read repair is turned off for the moment, but would this (not > reconciliated) memtable value be merged correctly if read repair would be > enabled? > Yes > - What with the final value after running nodetool repairs or compaction > process... > It'll be fine. -- Sylvain --20cf307c9e741a53a704cfb56ad0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
To my understanding client will not be notified because this read= step is asynchronously.

Yes, though for the record it's actually synchronou= s if you use anything else than CL.ONE.
=A0
Also the other replica cannot be updated properly (replicate-on-write stage= is backing up).
Question is:
- Will the counter value eventually be= come correct?

Yes, provided you either = have read repair enabled or run repair at some point. Meaning that if the r= ead gets dropped, there is no hinted hand-off involved so read repair and r= epair are the only things that will make things eventually consistent (but = they will).
=A0
- Read repair is turned off for the moment, but would this (not reconciliat= ed) memtable=A0 value be merged correctly if read repair would be enabled?<= br>

Yes
=A0
- What with the final value after running nodetool repairs or compaction pr= ocess...

It'll be fine.=A0

--
Sylvain
--20cf307c9e741a53a704cfb56ad0--