Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 23307 invoked from network); 21 Feb 2011 00:20:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Feb 2011 00:20:16 -0000 Received: (qmail 81297 invoked by uid 500); 21 Feb 2011 00:20:15 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 81182 invoked by uid 500); 21 Feb 2011 00:20:14 -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 81173 invoked by uid 99); 21 Feb 2011 00:20:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Feb 2011 00:20:14 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jbellis@gmail.com designates 209.85.213.44 as permitted sender) Received: from [209.85.213.44] (HELO mail-yw0-f44.google.com) (209.85.213.44) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Feb 2011 00:20:08 +0000 Received: by ywi6 with SMTP id 6so1014201ywi.31 for ; Sun, 20 Feb 2011 16:19:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=bKqaDVjZi0EdyZate/7Dn31aOKZULFDj/QNz5CfVSIA=; b=I9k5L/dVtIjrJ0ZAZ9MDdJzMUulOWy9FR+/Ft+OzFF+ZNw3OrdM4ugktYZTh8fPrd9 wmbt+uR+PwbTprt93iKHsB1NRvH/4WwdTfzK8WU2u9QTOVIAqcZT1huSMyiw5LuZrbw8 MPN83wfABkomuqCmmNcZSJSKS/tCwkh/EmDt8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=a0CRSEoEORNrTJuPpN9fD4amGRBFDMUv4g9O8cfug1xn1pPVuyE5OkyqKRhMBcbsil KMbK9FYk1Ckv0quRBi9JGwMMAxFkI2gdTSoHwpWA1/YpVuctaUmmkC6KO4zXRuAqlBv1 Z5D4skOxf3SfJz+B98k78EujCFw18D3L2hlLI= Received: by 10.236.105.194 with SMTP id k42mr1416064yhg.65.1298247587119; Sun, 20 Feb 2011 16:19:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.236.105.237 with HTTP; Sun, 20 Feb 2011 16:19:27 -0800 (PST) In-Reply-To: References: <1298062103135-6041440.post@n2.nabble.com> <1298063324543-6041479.post@n2.nabble.com> From: Jonathan Ellis Date: Sun, 20 Feb 2011 18:19:27 -0600 Message-ID: Subject: Re: Async write To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Sun, Feb 20, 2011 at 1:36 PM, Aaron Morton wrote: > > On 19/02/2011, at 10:24 AM, Anthony John wrote: > > > > Fact as i understand them:- > > - A write call to db triggers a number of async writes to all nodes where > > the particular write should be recorded (and the nodes are up per Gossip and > > so on) > > - Once desired CL number of writes acknowledge - the call returns > > AFAIK the write across the dc is sync as well. Anthony was correct: writes are asynchronous at the lowest level, and then we pick which to block for based on CL. > I think there I'd a ticket out there to make them asnc, take a look at Jira. You may be thinking of https://issues.apache.org/jira/browse/CASSANDRA-1530, which was completed for 0.7.1 but didn't change a/sync behavior. -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com