From user-return-7388-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Thu Jul 08 18:33:10 2010 Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 19216 invoked from network); 8 Jul 2010 18:33:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Jul 2010 18:33:10 -0000 Received: (qmail 42393 invoked by uid 500); 8 Jul 2010 18:33:08 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 42282 invoked by uid 500); 8 Jul 2010 18:33:08 -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 42274 invoked by uid 99); 8 Jul 2010 18:33:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jul 2010 18:33:07 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,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.212.172 as permitted sender) Received: from [209.85.212.172] (HELO mail-px0-f172.google.com) (209.85.212.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jul 2010 18:33:01 +0000 Received: by pxi20 with SMTP id 20so569040pxi.31 for ; Thu, 08 Jul 2010 11:31:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=staKBUr76iQQ35YbCVRiCwno+/MHKAHAKjrKeMKhYDY=; b=DeAYtndRmql9AMiUepOvQNB3RX1uK6fTDXkDspjqMHW1TNobuq3Ot5SUUqvB+FY0YZ uj0vQpQSFDbJCWNG0mNVzAC961pRDXq6iND1PmefC3eM6wOmjAb4fvbWd6OSEJ8S/7xw x8muuBgX+tOsGGWUqkK5KAW1DVmiGYEK5E1jc= 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:content-transfer-encoding; b=PiRq7mRY7tGUBONK3ggno/TZRv9M5jVqDFAPSkGZsdQrRuVRJ42K7Xf2zrgS1OO1ZB LkzQRIitj1uBBYdeTBgad3sQdlRya5pl5yksxxDbqj7DoDwAo0E33aBB8DadManEd9T/ LsAZi67Y080I59oAiSVj5ArywKKValfwd04bE= Received: by 10.142.213.14 with SMTP id l14mr11113587wfg.90.1278613900177; Thu, 08 Jul 2010 11:31:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.143.28.5 with HTTP; Thu, 8 Jul 2010 11:31:20 -0700 (PDT) In-Reply-To: References: From: Jonathan Ellis Date: Thu, 8 Jul 2010 13:31:20 -0500 Message-ID: Subject: Re: Some questions about the write operation and hinted handoff To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Jul 8, 2010 at 1:19 PM, Benjamin Black wrote: > On Thu, Jul 8, 2010 at 9:02 AM, ChingShen wrote= : >> Hmm.. as you mentioned that it will write a hint and report success at >> CL.ANY, does the hinted handoff only work at CL.ANY? >> > > Still no. =A0Hints are written when nodes are down, regardless of CL, > unless HH is disabled. =A0CL does not influence whether hints are > written, it influences whether success is reported to the client. =A0For > CL.ANY a hint is a success, for CL.ONE it is a failure. If the coordinator knows it can't achieve the requested CL it won't do any writes, hinted or otherwise, and will immediately report UnavailableException to the client. --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com