From user-return-23901-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Thu Feb 2 20:11:43 2012 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 5495A9D66 for ; Thu, 2 Feb 2012 20:11:43 +0000 (UTC) Received: (qmail 30336 invoked by uid 500); 2 Feb 2012 20:11:40 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 30245 invoked by uid 500); 2 Feb 2012 20:11:39 -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 30237 invoked by uid 99); 2 Feb 2012 20:11:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2012 20:11:39 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,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-a91.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2012 20:11:31 +0000 Received: from homiemail-a91.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a91.g.dreamhost.com (Postfix) with ESMTP id AF05BAE00C for ; Thu, 2 Feb 2012 12:11:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; q=dns; s=thelastpickle.com; b=0WQFeME2Ei Vlq7myE/r+SfIJq7jIQG7pzrnAP4fuc5YKmevxjoOGFKhOEEEecOVHXmUioFnO5b GhRVyT8PdLp8AaAkzWtHdnVaC3OzSzEvs/ZcmNxCvv6qCaYCcZhXA2CiuRPDc0xm DQ65g7FQB4BTvISMbWcUNcpO9wSkOIvxM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; s=thelastpickle.com; bh=iEBzWU0WZh8/oZ5r hjf0EBDRtG8=; b=oPE2xqho8vAAi0A8g4mRfIviwErSJqdEhxnmORj1KsEwr3jD LfkbgPh6PtKppDJaHcjn+sT56i4nXPoymSwEb+CSuWfiBwQaAcgTN7hT0EJk9H1s yTxI1qPtkNOymJRRxqAn7EMT7p/oXdCV8XxB6GWZfcQVIvSfCu2VAR65S8M= Received: from [172.16.1.3] (125-236-193-159.adsl.xtra.co.nz [125.236.193.159]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a91.g.dreamhost.com (Postfix) with ESMTPSA id 36CFCAE00B for ; Thu, 2 Feb 2012 12:11:10 -0800 (PST) From: aaron morton Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: multipart/alternative; boundary="Apple-Mail=_A08F0D13-3529-4342-8176-31A81045975C" Subject: Re: batch mode and flushing Date: Fri, 3 Feb 2012 09:11:06 +1300 In-Reply-To: To: user@cassandra.apache.org References: Message-Id: <6CD2F3EE-A1E1-422A-8ED9-F8B5402121CF@thelastpickle.com> X-Mailer: Apple Mail (2.1251.1) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_A08F0D13-3529-4342-8176-31A81045975C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Yes.=20 Be aware that the commit log will block and not flush for = commitlog_sync_batch_window_in_ms=20 Cheers =20 ----------------- Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 3/02/2012, at 5:44 AM, A J wrote: > Hello, when you set 'commitlog_sync: batch' on all the nodes in a > multi-DC cluster and call writes with CL=3DALL, does the operation = wait > till the write is flushed to all the disks on all the nodes ? >=20 > Thanks. --Apple-Mail=_A08F0D13-3529-4342-8176-31A81045975C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
http://www.thelastpickle.com

On 3/02/2012, at 5:44 AM, A J wrote:

Hello, = when you set 'commitlog_sync: batch' on all the nodes in a
multi-DC = cluster and call writes with CL=3DALL, does the operation wait
till = the write is flushed to all the disks on all the nodes = ?

Thanks.

= --Apple-Mail=_A08F0D13-3529-4342-8176-31A81045975C--