Return-Path: Delivered-To: apmail-hadoop-zookeeper-user-archive@minotaur.apache.org Received: (qmail 2428 invoked from network); 19 Apr 2010 05:00:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Apr 2010 05:00:40 -0000 Received: (qmail 50418 invoked by uid 500); 19 Apr 2010 05:00:40 -0000 Delivered-To: apmail-hadoop-zookeeper-user-archive@hadoop.apache.org Received: (qmail 50197 invoked by uid 500); 19 Apr 2010 05:00:37 -0000 Mailing-List: contact zookeeper-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: zookeeper-user@hadoop.apache.org Delivered-To: mailing list zookeeper-user@hadoop.apache.org Received: (qmail 50183 invoked by uid 99); 19 Apr 2010 05:00:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Apr 2010 05:00:37 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of avinash.lakshman@gmail.com designates 74.125.83.48 as permitted sender) Received: from [74.125.83.48] (HELO mail-gw0-f48.google.com) (74.125.83.48) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Apr 2010 05:00:30 +0000 Received: by gwj17 with SMTP id 17so889151gwj.35 for ; Sun, 18 Apr 2010 22:00:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=U2fIBIh/g7z4+RKJX1y/jUaEODVroimyYvaBgPLjd7U=; b=JTZAPSddwsAeMYcbdAvM893+zEgmlUCL4CPKxWnIIrVY33wNfbkI/rOexCY6XaWTXJ TOWm+PHlfR5XUJ40fvsrkNXHRyI/tmuoa+ZL29aUJsDIAsl6shHbM6Z6aF0kILxPaCzL wcIFI04BScTz3hJFZgSDgkxnr82u1Mh+Baegc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=JMMTrWIWgWQbbJMJhTYfOcty/8Zcy5tBprAvu/yymg2efu7JhM8MEvthZdeWeAnki9 CHsJ5z/jZNxpG5ehRUrGh2cV6gt6zmMsci/CWk1JsZCFsemd36KbvHe4As6kV4iAlPYX PZdjy9QIc2Hl2KWX+IIx0A+7j458yo/Q78QFM= MIME-Version: 1.0 Received: by 10.231.157.144 with HTTP; Sun, 18 Apr 2010 22:00:09 -0700 (PDT) Date: Sun, 18 Apr 2010 22:00:09 -0700 Received: by 10.150.127.10 with SMTP id z10mr5271918ybc.266.1271653209917; Sun, 18 Apr 2010 22:00:09 -0700 (PDT) Message-ID: Subject: Recovery protocol From: Avinash Lakshman To: zookeeper-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=000e0cd70d64dacb0004848fd50a --000e0cd70d64dacb0004848fd50a Content-Type: text/plain; charset=ISO-8859-1 Hi All Let's say I have a Zookeeper cluster with nodes A, B, C, D and E. Let's assume A is the leader. Now let us assume after a few writes have taken place the node B crashes. When it comes back up what is the recovery protocol? Does it join the cluster immediately and start taking writes and reads while it is catching up on writes that it lost when it was down? Cheers Avinash --000e0cd70d64dacb0004848fd50a--