Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 63729 invoked from network); 23 Oct 2010 04:49:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Oct 2010 04:49:49 -0000 Received: (qmail 41256 invoked by uid 500); 23 Oct 2010 04:49:49 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 41111 invoked by uid 500); 23 Oct 2010 04:49:47 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 41100 invoked by uid 99); 23 Oct 2010 04:49:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Oct 2010 04:49:46 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Oct 2010 04:49:44 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9N4nMmL023250 for ; Sat, 23 Oct 2010 04:49:22 GMT Message-ID: <25125844.38781287809362750.JavaMail.jira@thor> Date: Sat, 23 Oct 2010 00:49:22 -0400 (EDT) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Assigned: (CASSANDRA-876) Support session (read-after-write) consistency 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-876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis reassigned CASSANDRA-876: ---------------------------------------- Assignee: (was: Brian Palmer) > Support session (read-after-write) consistency > ---------------------------------------------- > > Key: CASSANDRA-876 > URL: https://issues.apache.org/jira/browse/CASSANDRA-876 > Project: Cassandra > Issue Type: New Feature > Components: Core > Reporter: Jonathan Ellis > Priority: Minor > Attachments: 876-v2.txt, CASSANDRA-876.patch > > > In http://www.allthingsdistributed.com/2007/10/amazons_dynamo.html and http://www.allthingsdistributed.com/2008/12/eventually_consistent.html Amazon discusses the concept of "eventual consistency." Cassandra uses eventual consistency in a design similar to Dynamo. > Supporting session consistency would be useful and relatively easy to add: we already have the concept of a Memtable (see http://wiki.apache.org/cassandra/MemtableSSTable ) to "stage" updates in before flushing to disk; if we applied mutations to a session-level memtable on the coordinator machine (that is, the machine the client is connected to), and then did a final merge from that table against query results before handing them to the client, we'd get it almost for free. > Of course, the devil is in the details; thrift doesn't provide any hooks for session-level data out of the box, but we could do this with a threadlocal approach fairly easily. CASSANDRA-569 has some (probably out of date now) code that might be useful here. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.