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 DC2D010C19 for ; Thu, 5 Sep 2013 04:57:53 +0000 (UTC) Received: (qmail 6966 invoked by uid 500); 5 Sep 2013 04:57:53 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 6621 invoked by uid 500); 5 Sep 2013 04:57:48 -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 6609 invoked by uid 99); 5 Sep 2013 04:57:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Sep 2013 04:57:45 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bhorowit@gmail.com designates 209.85.216.46 as permitted sender) Received: from [209.85.216.46] (HELO mail-qa0-f46.google.com) (209.85.216.46) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Sep 2013 04:57:40 +0000 Received: by mail-qa0-f46.google.com with SMTP id i13so2490498qae.19 for ; Wed, 04 Sep 2013 21:57:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=LvZdEY71Zk/xA1IJtfCa8BcDEGD7NBoCisg9GMyILug=; b=pf86aMne+at5Rgrj6XBTucnh9kqJZUSg0CEykjDrflIMZr8v+xTLhZsk10ExfSwDhv ZvyRjzi0KtHYRfpHNlarujZLw2U84OoycInZ2LCLz97/Tsrzq68K/HRjDqf7pp4iwFQ+ ztoMzH012islAd8ZRZIK07jtA2aHSAS7TPRpTzQcDQMf637B2TadyXywAkKopuaa/2Sp aMUYplr61Kryajts1VdhuPxhqbq999CQUGR8Ciel307KgXQXDXK8K+RprnXV401z+wuz usBB82LiHw1TtIavzeX3C9eWORrEvFFTcBrIgpqo8mCVq1CcFH7+5t4O0sl9Ljod3jCv XWWw== MIME-Version: 1.0 X-Received: by 10.49.1.166 with SMTP id 6mr7505328qen.65.1378357039300; Wed, 04 Sep 2013 21:57:19 -0700 (PDT) Received: by 10.49.72.134 with HTTP; Wed, 4 Sep 2013 21:57:19 -0700 (PDT) Date: Wed, 4 Sep 2013 21:57:19 -0700 Message-ID: Subject: Peer that can't become leader From: Ben Horowitz To: user@zookeeper.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi all, Camille Fournier in her blog post on a global service discovery infrastructure using ZK [1] describes a setup in which, by design, a distinguished peer P never becomes leader. Is there any way of accomplishing this setup with ZK config files? Or would one have to watch the ensemble and restart P if ever P becomes leader? [1] http://whilefalse.blogspot.com/2012/12/building-global-highly-available.html#comment-form Thanks, Ben