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 DBAD37E31 for ; Sun, 24 Jul 2011 22:26:18 +0000 (UTC) Received: (qmail 42587 invoked by uid 500); 24 Jul 2011 22:26:16 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 42507 invoked by uid 500); 24 Jul 2011 22:26:15 -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 42498 invoked by uid 99); 24 Jul 2011 22:26:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jul 2011 22:26:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a41.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jul 2011 22:26:07 +0000 Received: from homiemail-a41.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a41.g.dreamhost.com (Postfix) with ESMTP id 9836C44C058 for ; Sun, 24 Jul 2011 15:25:46 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=content-type :mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; q=dns; s= thelastpickle.com; b=YozdnBr53fuMrXytxS+rrgrQvLAzNGXUhCA5JdafzuX gi6CRCRfKPA/Og1kyjnSnp4td4yb+TFVQ+9zrwdogcl+jlMOtTKYSPXHoUOlMUQd lDKhCecc2X9AUEj/rM+P8nqU5nFU/6McOgdq3hg3V/3QMEWGz3CzR6pVQRn7DDLY = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h= content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; s= thelastpickle.com; bh=8QMngpBcCr7BNEmylb5dyJ+jwBY=; b=wO2qe/qbPx WOI/qXKfYrsxvw+BdSYKaqooRlG91yvZvumARBT122mPil6ENHa5CCHbjWigrE3D e7iSJZ8+rK3iRIhOijW2KXZp5AHfeYCwlWQemaM8m8tbf/uJb2Rz4bE5VGNNgXme y3yRhPOh1V1FsTCfZPDK1efW5oSnFsOek= Received: from [198.48.1.52] (198-48-1-52-dhcp.cafenet.co.nz [198.48.1.52]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a41.g.dreamhost.com (Postfix) with ESMTPSA id 43B4E44C057 for ; Sun, 24 Jul 2011 15:25:46 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1244.3) Subject: Re: CL=N-1? From: aaron morton In-Reply-To: Date: Mon, 25 Jul 2011 10:25:44 +1200 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: user@cassandra.apache.org X-Mailer: Apple Mail (2.1244.3) X-Virus-Checked: Checked by ClamAV on apache.org Sounds like you want RF =3D=3D N more than CL =3D=3D N-1. You could = create a separate KS with RF =3D=3D N and then just write at CL =3D = QUORUM, the write will be sent to every UP replica.=20 For background: The System Keyspace uses the o.a.c.locator.LocalStrategy = that *only* stores data on the node the mutation is sent to. So there is = *no replication*, the system takes care of ensuring data that needs to = be replicated (i.e. schema defs) are replicated via higher level = features. Using the LocalStrategy yourself is probably a bad idea.=20 Cheers ----------------- Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 23 Jul 2011, at 07:24, Yang wrote: > is there such an option? >=20 > in some cases I want to distribute some small lookup tables to all the > nodes, so that everyone has a local copy, and loaded in memory. so the > lookup is fast. supposedly I want to write to all N nodes, but that > exposes me to failure in case of just one node down. > so I'd like to declare success to N-1 nodes. >=20 > thanks > Yang