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 CE27017420 for ; Fri, 31 Oct 2014 03:38:13 +0000 (UTC) Received: (qmail 28957 invoked by uid 500); 31 Oct 2014 03:38:13 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 28910 invoked by uid 500); 31 Oct 2014 03:38:13 -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 28896 invoked by uid 99); 31 Oct 2014 03:38:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Oct 2014 03:38:12 +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 devaki.vamsi@gmail.com designates 209.85.216.48 as permitted sender) Received: from [209.85.216.48] (HELO mail-qa0-f48.google.com) (209.85.216.48) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Oct 2014 03:38:07 +0000 Received: by mail-qa0-f48.google.com with SMTP id x12so4620393qac.7 for ; Thu, 30 Oct 2014 20:37:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:from:date:message-id:subject:to :content-type; bh=V5YOCnyREJjJiTUNhX3uhgLldPLjiVhazOe7amtBEwc=; b=hcFOdUS/DHhQZa6rtBCAVCsoTGehcWkELEBMsXUS87UWf8p/HJ6HrK3jk7oBTbQDZy GXH41EJeOfIvn/JH4yDMsGbNbXp6nCKUjFjf2PqHsC9yqRjWMcoXQRODZpbZfPHUVl57 XvGwc8QV6sc5mlgvsvobGIcLhFgFaE+gSwcw2/AzKbf+RRkRd+OFf0wupGm3kV8uJQWm U2bFG3NX+28XY9xzCBDfOo62XVieTe1cWH6f4/U8oLbH3/AuogfaBABqt3ExUtlf2bQu tYI78Oq9OsUWtMfo1nutLiP6qklfcqv4ZS6g84UJhzLuMCEgmYGsB7a927UVXI1DzTyP 5y9A== X-Received: by 10.140.41.39 with SMTP id y36mr31112851qgy.64.1414726666483; Thu, 30 Oct 2014 20:37:46 -0700 (PDT) MIME-Version: 1.0 References: <2014103111214762407717@163.com> From: Vamsi Devaki Date: Fri, 31 Oct 2014 03:37:46 +0000 Message-ID: Subject: Re: How zookeeper handles the split-brain scenario To: user Content-Type: multipart/alternative; boundary=001a11c13cae6900a70506afb864 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c13cae6900a70506afb864 Content-Type: text/plain; charset=UTF-8 Zookeeper needs at least quorum to operate. Any partition that is smaller than quorum will not be able to make any state changes. On Thu Oct 30 2014 at 8:24:53 PM bit1129@163.com wrote: > Hi Zookeepers, > I am wondering the mechanism that zookeeper takes to handle the > split-brain scenario : two or more parts of the system make progress > independently, leading to inconsistent behavior. > Looks to me that as long as the mojority of the assemble are still > working, there would no split brain problem? but I don't clear > understanding on this, and also could not understand how it keep the > assemble in consistent state. > > Could someone explain this? > > Thanks! > > -Todd > --001a11c13cae6900a70506afb864--