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 013F34AFB for ; Mon, 27 Jun 2011 15:22:15 +0000 (UTC) Received: (qmail 58659 invoked by uid 500); 27 Jun 2011 15:22:12 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 58569 invoked by uid 500); 27 Jun 2011 15:22: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 58547 invoked by uid 99); 27 Jun 2011 15:22:11 -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 15:22:11 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [202.38.128.6] (HELO ihep.ac.cn) (202.38.128.6) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 27 Jun 2011 15:22:04 +0000 Received: from [128.141.36.242] (unknown [128.141.36.242]) by mail.ihep.ac.cn (Coremail) with SMTP id fwD__pDrexX+nwhOwMYtAA--.1902S2; Mon, 27 Jun 2011 23:21:37 +0800 (CST) Message-ID: <4E08A0DE.3090207@ihep.ac.cn> Date: Mon, 27 Jun 2011 17:25:18 +0200 From: Donal Zang Reply-To: zangds@ihep.ac.cn Organization: IHEP User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Re: Counter Column References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------000107020006010103060302" X-CM-TRANSID: fwD__pDrexX+nwhOwMYtAA--.1902S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUUYxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUjRAYjxAI6xCIbckI1I0E57IF64kEYxAxM7k042IE4asKkaVY67At M7k042IEIxkG67AtM7k0a2IF6F4UM7kC6x804xWl14x267AKxVWUJVW8JwAFxVCF77xC6I xKo4kEV4yl1I0EscIYIxCEI4klw4CSwwAFIxvE14AKwVWUJVWUGwA2z4x0Y4vE2Ix0cI8I cVAFwI0_Gr0_Xr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1l84ACjcxK6I8E87 Iv67AKxVW0oVCq3wA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_GcCE3s1ln4vEF7Iv6F18KVAq rcv_GVWUtr1rJF1lnx0Ec2IEnICE548m6r1DJrWUZwAqx4xG67k08I80eVW8JVW5JwAqx4 xG6c804VAFz4xC04v7Mc02F40Ew4AK048IF2xKxVWUJVW8JwAqx4xG6xAIxVCFxsxG0wAq x4xG6I8vx48I62xC7I0kMcIj6xIIjxv20xvE14v26r1j6r18McIj6I8E87Iv67AKxVWUJV W8JwACjcxG0xvEwIxGrwCjr7xvwVCIw2I0I7xG6c02F41lc7I2V7IY0VAS07AlzVAYIcxG 8wCF04k20xvY0x0EwIxGrwCFI7vE0wC2zVAF1VAY17CE14v26r1j6r15MIIYrxkI7VAKI4 8JYxBIdaVFxhVjvjDU0xZFpf9x07jbyCXUUUUU= X-CM-SenderInfo: p2dqwvvv6lxvnsoduhdfq/ X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------000107020006010103060302 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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=true 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 --------------000107020006010103060302 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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=true 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 
--------------000107020006010103060302--