Return-Path: X-Original-To: apmail-curator-user-archive@minotaur.apache.org Delivered-To: apmail-curator-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 878DE105E8 for ; Tue, 27 Jan 2015 19:04:27 +0000 (UTC) Received: (qmail 40830 invoked by uid 500); 27 Jan 2015 19:04:27 -0000 Delivered-To: apmail-curator-user-archive@curator.apache.org Received: (qmail 40790 invoked by uid 500); 27 Jan 2015 19:04:27 -0000 Mailing-List: contact user-help@curator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@curator.apache.org Delivered-To: mailing list user@curator.apache.org Received: (qmail 40780 invoked by uid 99); 27 Jan 2015 19:04:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jan 2015 19:04:27 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ricardojsfer@gmail.com designates 209.85.217.179 as permitted sender) Received: from [209.85.217.179] (HELO mail-lb0-f179.google.com) (209.85.217.179) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jan 2015 19:04:23 +0000 Received: by mail-lb0-f179.google.com with SMTP id 10so14740345lbg.10 for ; Tue, 27 Jan 2015 11:04:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=yQlphNBA417b9JkLEeiC/x/PXCmTYahzA9/tFh5EfFs=; b=tnr3Ia3oRbct9yvnfRymgjmuFlrUC8KQMMpQxiex5dFXzizBL9TMB4+RddPj1knCBw RCP1EEhPP2dMjw8itLwCkVFqFPV3yc8T5gWuCOKl3YpojJonyp+rjYMRHzyS8Uo09hq+ YWuG85gnFyM+bW8SF4Q6l3X299YADC2Chagbf5II/gg0epEJSLH5xNW5TbwCWEzo4FxZ TgC/KsZ5u0jusaApGZt+KJApL56QE6ylGUZ34PtxvZB5g+cCWf32Fqjqq+DUrb1J+1g5 rxbAdjh27+/cYGdSj+jFb0QW1H7VvGbsno7+nrV19HmBXR9PrwSAohA6NtK5mUB54sw6 GpPQ== X-Received: by 10.112.35.165 with SMTP id i5mr3530778lbj.49.1422385442214; Tue, 27 Jan 2015 11:04:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.97.72 with HTTP; Tue, 27 Jan 2015 11:03:41 -0800 (PST) In-Reply-To: References: From: Ricardo Ferreira Date: Tue, 27 Jan 2015 19:03:41 +0000 Message-ID: Subject: Re: Regarding leadership status To: Jordan Zimmerman Cc: user@curator.apache.org Content-Type: multipart/alternative; boundary=001a11c36c8c04598e050da6eb0f X-Virus-Checked: Checked by ClamAV on apache.org --001a11c36c8c04598e050da6eb0f Content-Type: text/plain; charset=UTF-8 Sure, I understand that. There are also no guarantees if the leader node goes down and an action must be performed in between heartbeats The Zookeeper client wont yet be aware a node is down and the cluster's state will be inconsistent, right? On Tue, Jan 27, 2015 at 5:54 PM, Jordan Zimmerman < jordan@jordanzimmerman.com> wrote: > No. If a non-leader dies there is not a new leader election. The current > leader stays leader. > > -JZ > > On January 27, 2015 at 12:50:43 PM, Ricardo Ferreira ( > ricardojsfer@gmail.com) wrote: > > And from what you described, it gets worse: If a non-leader dies, > leadership election will take place and a new leader might be elected, > right? > > --001a11c36c8c04598e050da6eb0f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Sure, I understand that.

There are also= no guarantees if the leader node goes down and an action must be performed= in between heartbeats=C2=A0The Zookeeper client wont yet be aware a node i= s down and the cluster's state will be inconsistent, right?
=

On Tue, Jan 27, 2= 015 at 5:54 PM, Jordan Zimmerman <jordan@jordanzimmerman.com&= gt; wrote:
No. If a non-leader dies ther= e is not a new leader election. The current leader stays leader.

-JZ

On January 27, 2015 at 1= 2:50:43 PM, Ricardo Ferreira (ricardojsfer@gmail.com) wrote:

And from what you described, it gets = worse: If a non-leader dies, leadership election will take place and a new = leader might be elected, right?


--001a11c36c8c04598e050da6eb0f--