Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 16296 invoked from network); 26 May 2009 20:39:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 May 2009 20:39:57 -0000 Received: (qmail 32227 invoked by uid 500); 26 May 2009 20:40:09 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 32202 invoked by uid 500); 26 May 2009 20:40:09 -0000 Mailing-List: contact cassandra-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-commits@incubator.apache.org Received: (qmail 32192 invoked by uid 99); 26 May 2009 20:40:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 May 2009 20:40:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 May 2009 20:40:07 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EBB2A234C004 for ; Tue, 26 May 2009 13:39:45 -0700 (PDT) Message-ID: <430786721.1243370385951.JavaMail.jira@brutus> Date: Tue, 26 May 2009 13:39:45 -0700 (PDT) From: "Jonathan Ellis (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Commented: (CASSANDRA-48) test-and-set In-Reply-To: <1830224690.1238712914902.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713237#action_12713237 ] Jonathan Ellis commented on CASSANDRA-48: ----------------------------------------- I'd like to get the "dial up consistency" part in first rather than the other way around, since something like that (Zookeeper?) would be useful in other situations as well while T&S w/o consistency is not really useful as you point out. > test-and-set > ------------ > > Key: CASSANDRA-48 > URL: https://issues.apache.org/jira/browse/CASSANDRA-48 > Project: Cassandra > Issue Type: Improvement > Reporter: Jonathan Ellis > > Atomic test-and-set insert operation would be nice: "set value to X but only if the current value is still Y." This allows a sort of optimistic consistency: perform a GET, then perform test-and-set with the value of that GET as Y. > I do not think that this requires strong consistency to be useful. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.