Return-Path: Delivered-To: apmail-hadoop-zookeeper-user-archive@minotaur.apache.org Received: (qmail 18207 invoked from network); 29 Apr 2010 20:26:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Apr 2010 20:26:15 -0000 Received: (qmail 3602 invoked by uid 500); 29 Apr 2010 20:26:15 -0000 Delivered-To: apmail-hadoop-zookeeper-user-archive@hadoop.apache.org Received: (qmail 3582 invoked by uid 500); 29 Apr 2010 20:26:15 -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 3574 invoked by uid 99); 29 Apr 2010 20:26:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 20:26:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [69.147.107.20] (HELO mrout1-b.corp.re1.yahoo.com) (69.147.107.20) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 20:26:09 +0000 Received: from SNV-EXBH01.ds.corp.yahoo.com (snv-exbh01.ds.corp.yahoo.com [207.126.227.249]) by mrout1-b.corp.re1.yahoo.com (8.13.8/8.13.8/y.out) with ESMTP id o3TKPPR6007339 for ; Thu, 29 Apr 2010 13:25:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=received:user-agent:date:subject:from:to:message-id: thread-topic:thread-index:in-reply-to:mime-version:content-type: content-transfer-encoding:return-path:x-originalarrivaltime; b=j9DTPEgTGbKZFbfaXNOsqEgWlKQfgkkQyCLtFp5/Q0NQa10SXBFsnlhqD1PhV4ev Received: from SNV-EXVS09.ds.corp.yahoo.com ([207.126.227.86]) by SNV-EXBH01.ds.corp.yahoo.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 29 Apr 2010 13:25:25 -0700 Received: from 10.73.146.106 ([10.73.146.106]) by SNV-EXVS09.ds.corp.yahoo.com ([207.126.227.84]) via Exchange Front-End Server snv-webmail.corp.yahoo.com ([207.126.227.59]) with Microsoft Exchange Server HTTP-DAV ; Thu, 29 Apr 2010 20:24:45 +0000 User-Agent: Microsoft-Entourage/12.24.0.100205 Date: Thu, 29 Apr 2010 13:24:45 -0700 Subject: Re: Partially partitioned connectivity From: Mahadev Konar To: Message-ID: Thread-Topic: Partially partitioned connectivity Thread-Index: Acrn2gGl9VLVw9A/606x0EEcTI7IxA== In-Reply-To: <20100429112205.7ca282eb@kwebb.ucsd.edu> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-OriginalArrivalTime: 29 Apr 2010 20:25:25.0575 (UTC) FILETIME=[19D4E570:01CAE7DA] Hi Kevin, I had the response set up but didn't hit send. Ted already answered your question, but to give you a more technical background assuming that you know a little bit more about transaction ids in ZooKeeper and server ids: If B and C are partitioned from each other, and A is the leader, there would not be a problem since A can talk to B and C and the cluster would continue functioning. But if B/C is the Leader then the other would get disconnected and stop functioning unless the partition heals. The clients connected to this server will get disconnected with connected to the working quorum of A and B/C. If a quorum election happens in this situation, there are two possibilities 1) A is the leader 2) A is not the leader If A is not Leader either B or C is the leader and the quorum functions with the disconnected server not functioning. If A is the leader then since it can talk to both B and C, all three servers will function and will work all fine. Hope that answers your question. Thanks mahadev In the first case A will not be the lea On 4/29/10 11:22 AM, "Kevin Webb" wrote: > Suppose I have three zookeeper servers (A, B, and C). A can > communicate with both B and C, but B and C are partitioned from one > another. > > Is the system behavior under such conditions documented anywhere? If > not, can someone explain what will happen at the servers and their > clients? > > Thanks! > > -Kevin