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 6E8214800 for ; Mon, 27 Jun 2011 17:20:22 +0000 (UTC) Received: (qmail 37099 invoked by uid 500); 27 Jun 2011 17:20:20 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 37008 invoked by uid 500); 27 Jun 2011 17:20:19 -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 37000 invoked by uid 99); 27 Jun 2011 17:20:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2011 17:20:19 +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 sylvain@datastax.com designates 209.85.161.172 as permitted sender) Received: from [209.85.161.172] (HELO mail-gx0-f172.google.com) (209.85.161.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2011 17:20:11 +0000 Received: by gxk19 with SMTP id 19so2934071gxk.31 for ; Mon, 27 Jun 2011 10:19:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.195.65 with SMTP id o41mr9314443yhn.337.1309195190671; Mon, 27 Jun 2011 10:19:50 -0700 (PDT) Received: by 10.236.108.177 with HTTP; Mon, 27 Jun 2011 10:19:50 -0700 (PDT) X-Originating-IP: [88.183.33.171] In-Reply-To: References: Date: Mon, 27 Jun 2011 19:19:50 +0200 Message-ID: Subject: Re: Counter Column From: Sylvain Lebresne To: user@cassandra.apache.org Cc: zangds@ihep.ac.cn Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Let me make that simpler. Don't ever use replicate_on_write=3Dfalse (even if you "think" that it is what you want, there is a good chance it's not). Obviously, the default is replicate_on_write=3Dtrue. -- Sylvain On Mon, Jun 27, 2011 at 7:03 PM, Philippe wrote: > if i write at ALL and read at ONE,is that setting required ? > thanks > > Le 27 juin 2011 17:22, "Donal Zang" a =E9crit=A0: >> On 27/06/2011 17:04, Artem Orobets wrote: >>> >>> Hi! >>> >>> As I know, we use counter column only with replication factor ALL, so >>> is it mean that we can't read data while any replica will fail? >>> >> you can use any consistency level, using replicate_on_write=3Dtrue when >> create the counter column family. >> >> -- >> Donal Zang >> Computing Center, IHEP >> 19B YuquanLu, Shijingshan District,Beijing, 100049 >> zangds@ihep.ac.cn >> 86 010 8823 6018 >> >