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 07570E738 for ; Tue, 25 Jun 2013 18:18:55 +0000 (UTC) Received: (qmail 37433 invoked by uid 500); 25 Jun 2013 18:18:52 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 37281 invoked by uid 500); 25 Jun 2013 18:18:51 -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 37270 invoked by uid 99); 25 Jun 2013 18:18:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jun 2013 18:18:51 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rcoli@eventbrite.com designates 209.85.216.171 as permitted sender) Received: from [209.85.216.171] (HELO mail-qc0-f171.google.com) (209.85.216.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jun 2013 18:18:45 +0000 Received: by mail-qc0-f171.google.com with SMTP id n1so7474075qcw.16 for ; Tue, 25 Jun 2013 11:18:24 -0700 (PDT) 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=bQkZ2GFBKgK4EF4WZXFk4t+ky2776TAjaCaXgiEv7pQ=; b=mJbBQwcR5TpzjA2mTNPkcckU2Wk5MD8NQRVr8/oQy8vZf1M0lZm8Fx7kTbff7CD3Zi 38iUeBEo13Yes3vCBjOBRFVAhcJaUcmtfI8lFt4StICaEE6Jbw88Ai4Msqn5/g3Erli1 oz19AkwCj0yv2mQ3pqLGbiPRsFfV42pfebFDBn803UWvhrNu084BxqZea63dqk9/RTO/ AwhPgSyD78HBaznGquxQTocGR4BwlPqn1V6iIiubyAX4mlnA+JMAbxQ3PrVTpknTHhnT mRSgHIjXkdEqyxq5DouyPxlwX5Ie4w8XZb7ZwiTNTL6xMnmpb1IPdxZBzU6TpwzbYO91 pzEQ== MIME-Version: 1.0 X-Received: by 10.49.83.37 with SMTP id n5mr251400qey.57.1372184304896; Tue, 25 Jun 2013 11:18:24 -0700 (PDT) Received: by 10.49.94.227 with HTTP; Tue, 25 Jun 2013 11:18:24 -0700 (PDT) In-Reply-To: <78073DF1CF7E49EA8CF68C5C79F8FB30@keen.io> References: <78073DF1CF7E49EA8CF68C5C79F8FB30@keen.io> Date: Tue, 25 Jun 2013 11:18:24 -0700 Message-ID: Subject: Re: Counter value becomes incorrect after several dozen reads & writes From: Robert Coli To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkrIC68NbsVTJaLJKAyqhdV6u/BvzuSSlPxwEofenj+Ob4eatUYSAWVOd1MLzTKEql+vbh4 X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Jun 24, 2013 at 6:42 PM, Josh Dzielak wrote: > There is only 1 thread running this sequence, and consistency levels are set > to ALL. The behavior is fairly repeatable - the unexpectation mutation will > happen at least 10% of the time I run this program, but at different points. > When it does not go awry, I can run this loop many thousands of times and > keep the counter exact. But if it starts happening to a specific counter, > the counter will never "recover" and will continue to maintain it's > incorrect value even after successful subsequent writes. Sounds like a corrupt counter shard. Hard to understand how it can happen at ALL. If I were you I would file a JIRA including your repro path... =Rob