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 A84589D7B for ; Wed, 14 Dec 2011 16:29:51 +0000 (UTC) Received: (qmail 99605 invoked by uid 500); 14 Dec 2011 16:29:49 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 99566 invoked by uid 500); 14 Dec 2011 16:29:49 -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 99558 invoked by uid 99); 14 Dec 2011 16:29:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2011 16:29:49 +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 arodrime@gmail.com designates 74.125.83.44 as permitted sender) Received: from [74.125.83.44] (HELO mail-ee0-f44.google.com) (74.125.83.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2011 16:29:42 +0000 Received: by eeke49 with SMTP id e49so983318eek.31 for ; Wed, 14 Dec 2011 08:29:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=qQGXPFv0ED63O+/s9EBGS5CcJqCRzX5udmP8N8Mwh3Q=; b=WWCg3pzUiAU71L+ngZZc2RIu8GLjd9GYdLiJV81pr9gRHIhnPE/Zakq/8PCZfFLuTS 5GJFu0qNsly/XeWT0uPk0eGsK9Q1pF0i5HSlBlXN3jj1ELcChjHR1dx0Lc/ebLRZiLa9 aC5wEX3a566xkC6HElG4gOKYfnJmtsbhk2Rmg= Received: by 10.213.28.15 with SMTP id k15mr797824ebc.76.1323880161371; Wed, 14 Dec 2011 08:29:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.7.73 with HTTP; Wed, 14 Dec 2011 08:29:00 -0800 (PST) From: Alain RODRIGUEZ Date: Wed, 14 Dec 2011 17:29:00 +0100 Message-ID: Subject: Counters != Counts To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=0015174c16dabe662304b40fdee1 --0015174c16dabe662304b40fdee1 Content-Type: text/plain; charset=ISO-8859-1 Hi everybody. I'm using a lot of counters to make statistics on a 4 nodes cluster (ec2 m1.small) with phpcassa (cassandra v1.0.2). I store some events and increment counters at the same time. Counters give me over-counts compared with the count of every corresponding events. I sure that my non-counters counts are good. I'm not sure why these over-counts happen, but I heard that recovering from commitlogs can produce this. I have some timeouts on phpcassa which are written in my apache logs while a compaction is running. However I am always able to write at Quorum, so I guess I shouldn't have to recover from cassandra commitlogs. Where can these over-counts come from ? Alain --0015174c16dabe662304b40fdee1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi everybody.

I'm using a lot of counters= to make statistics on a 4 nodes cluster (ec2 m1.small) with phpcassa (cass= andra v1.0.2).

I store some events and increment c= ounters at the same time.

Counters give me over-counts compared with the count of= every corresponding events.

I sure that my non-co= unters counts are good.

I'm not sure why these= over-counts happen, but I heard that recovering from commitlogs can produc= e this.
I have some timeouts on phpcassa which are written in my apache logs w= hile a compaction is running. However I am always able to write at Quorum, = so I guess I shouldn't have to recover from cassandra commitlogs.=A0

Where can these over-counts come from ?

<= /div>
Alain
=A0
--0015174c16dabe662304b40fdee1--