Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-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 31FDD119C9 for ; Wed, 9 Apr 2014 19:07:21 +0000 (UTC) Received: (qmail 26001 invoked by uid 500); 9 Apr 2014 19:07:20 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 25452 invoked by uid 500); 9 Apr 2014 19:07:17 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 25439 invoked by uid 99); 9 Apr 2014 19:07:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Apr 2014 19:07:16 +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 ted.dunning@gmail.com designates 209.85.213.172 as permitted sender) Received: from [209.85.213.172] (HELO mail-ig0-f172.google.com) (209.85.213.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Apr 2014 19:07:10 +0000 Received: by mail-ig0-f172.google.com with SMTP id hn18so6835566igb.5 for ; Wed, 09 Apr 2014 12:06:50 -0700 (PDT) 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 :content-type; bh=S53YmmJRaaleVzER0zXxEYb5xpYIVt5pGzgyGtXIV+M=; b=qF1CMEVbDUqHzJ7NT8KX//X3EWIGJOqkhMMNbPyLfdQ9E+6+lM1j22xEsMzBbwUcTo 4RQDPXDaXwCSgAKkqVeeAjTladOBLU0DpLhrGPfi3B2bFlVjWivrN0B7K2jBEg6gDpLy l5eQx2NUkX+I9fwWBKZ1AamXsjj9BX/Hptc9uMFqYRHDtG7iTEyM4vbAYHHAcAHHPE5h AHF6KDXNQPAm7l9D3qlB7m3ywmP9ZC13pMBknqY737nEO1EHI47LSqWmRGGIYDRvO4tk XiFrYSqGjRJre+XSIkEytbCv4v74mfGy8caKaPCgBktPvnzFFBfYFjk36PTQrMfLVuRq 9c8A== X-Received: by 10.42.206.9 with SMTP id fs9mr9524477icb.33.1397070409986; Wed, 09 Apr 2014 12:06:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.225.109 with HTTP; Wed, 9 Apr 2014 12:06:19 -0700 (PDT) In-Reply-To: References: From: Ted Dunning Date: Wed, 9 Apr 2014 12:06:19 -0700 Message-ID: Subject: Re: Restarting leader zookeeper instance made quorum lost To: "user@zookeeper.apache.org" Content-Type: multipart/alternative; boundary=20cf303f64d08378a404f6a0cd68 X-Virus-Checked: Checked by ClamAV on apache.org --20cf303f64d08378a404f6a0cd68 Content-Type: text/plain; charset=UTF-8 Your email is a little ambiguous. a) "5 instances with 3 as quorum" could mean 5 instances configured and running normally. Or b) it could mean 5 instances with 2 instances that are down. In (a) restarting the leader instance *should* cause the cluster to do a leader election again and form a new quorum. That is a form of losing quorum. If that is what you mean, this is normal. A new quorum should be formed and things should continue fairly soon. In (b), restarting the leader will result in only 2 instances running which is not enough to maintain quorum and until you have at least 3 nodes running again, you can't proceed. On Wed, Apr 9, 2014 at 11:03 AM, Bae, Jae Hyeon wrote: > Hi zookeeper users > > While rolling restart zookeeper cluster of 5 instances with 3 as quorum, > restarting the leader instance made quorum lost. Is this expected? > Otherwise, how can I restart the leader instance without interrupting whole > cluster? Or is this fixed in 3.4.6? > > Thank you > Best, Jae > --20cf303f64d08378a404f6a0cd68--