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 7EE2A75A0 for ; Tue, 15 Nov 2011 13:54:54 +0000 (UTC) Received: (qmail 81715 invoked by uid 500); 15 Nov 2011 13:54:52 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 81681 invoked by uid 500); 15 Nov 2011 13:54:52 -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 81673 invoked by uid 99); 15 Nov 2011 13:54:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2011 13:54:52 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of s5alye@gmail.com designates 209.85.210.172 as permitted sender) Received: from [209.85.210.172] (HELO mail-iy0-f172.google.com) (209.85.210.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2011 13:54:46 +0000 Received: by iaeo4 with SMTP id o4so10943184iae.31 for ; Tue, 15 Nov 2011 05:54:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=wTQpzmrEZKkI4hMartDidffEMxvS3iMk4FF4RqoJY6s=; b=b04m2a3txPEqW/SmYJX1gB4hH6Japwbl1veZ2Z4otfseO6kwuCtboQYozyixpDL97z zZcuyGAFRINpjTbV1LXkqn3UAJlbGtokbpNzyZTj8FSVpH5KDvIr/LGayFD+Bcg6JZkH vE/jdn5XVLB0vO8k3b2CbX5YkMjopt3XNfxpE= MIME-Version: 1.0 Received: by 10.231.62.212 with SMTP id y20mr6352107ibh.11.1321365265647; Tue, 15 Nov 2011 05:54:25 -0800 (PST) Received: by 10.231.199.137 with HTTP; Tue, 15 Nov 2011 05:54:25 -0800 (PST) In-Reply-To: References: Date: Tue, 15 Nov 2011 08:54:25 -0500 Message-ID: Subject: Re: (A or B) AND C AND !D From: A J To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 To clarify, I wish to keep N=4 and W=2 in the following scenario. Thanks. On Sun, Nov 13, 2011 at 11:20 PM, A J wrote: > Hello > Say I have 4 nodes: A, B, C and D and wish to have consistency level > for writes defined in such as way that writes meet the following > consistency level: > (A or B) AND C AND !D, > i.e. either of A or B will suffice and C to be included into > consistency level as well. But the write should not wait for D. > > Is such a configuration possible ? > I tried various combinations of EACH_QUORUM and LOCAL_QUORUM and > clubbing the nodes in different DCs but could not really come up with > a solution. Maybe I am missing something. > > Thanks. >