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 108F99A81 for ; Thu, 10 May 2012 11:20:46 +0000 (UTC) Received: (qmail 13620 invoked by uid 500); 10 May 2012 11:20:45 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 13112 invoked by uid 500); 10 May 2012 11:20:43 -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 13093 invoked by uid 99); 10 May 2012 11:20:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 May 2012 11:20:43 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Alexandar.Gvozdenovic@ubs.com designates 139.149.1.204 as permitted sender) Received: from [139.149.1.204] (HELO dmz-vsgate1.ldn.ibb.ubs.com) (139.149.1.204) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 May 2012 11:20:33 +0000 Received: from localhost (localhost [127.0.0.1]) by postfix.amavisd (Postfix) with ESMTP id 3DCCE605E0 for ; Thu, 10 May 2012 12:20:11 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ubs.com; h= x-virus-scanned:from:references:in-reply-to:message-id:date :subject:content-transfer-encoding:content-type:mime-version :content-class:received:received:received:received:received; s= srsa; t=1336648811; bh=OtKCHAw+DhqSkbT350giJx+FVRpMoRhU+eia/zgSR B0=; b=D3ZdObE4ZThVG+5jZnGyAk116oN6m8cY97NgdY7gZ1eDJ6A9qmYocoAvr tjm3rb0h5WlYgjldDux9fOpebW8dj/b3iQYFal0z9unAXcBxwKTBlRjt/3HIhGKF SNjd7S0bDB/MjQs1eyFCgQHJTGhVR5F037xfQ68JeqfHva+984= Received: from dmz-vsgate1.ldn.ibb.ubs.com ([127.0.0.1]) by localhost (sldn0847xmh.ldn.swissbank.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R+Dwos74M75A for ; Thu, 10 May 2012 12:20:11 +0100 (BST) Received: by dmz-vsgate1.ldn.ibb.ubs.com (Postfix, from userid 103) id 11E7B6048B; Thu, 10 May 2012 12:20:10 +0100 (BST) Received: from sldn3028pmh.ldn.swissbank.com (unknown [139.149.96.13]) by dmz-vsgate1.ldn.ibb.ubs.com (Postfix) with ESMTP id 44F466048B for ; Thu, 10 May 2012 12:20:10 +0100 (BST) Received: from nldn2375pap.ubsw.net (nldn2375pap.ldn.swissbank.com [14.64.43.133]) by sldn3028pmh.ldn.swissbank.com (Postfix) with ESMTP id 3220E3A8 for ; Thu, 10 May 2012 12:20:10 +0100 (BST) Received: from NLDNC108PEX1.ubsw.net ([139.149.84.162]) by nldn2375pap.ubsw.net with Microsoft SMTPSVC(6.0.3790.4675); Thu, 10 May 2012 12:20:04 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Possible issue with cluster availability following new Leader Election - ZK 3.4 Date: Thu, 10 May 2012 12:20:01 +0100 Message-ID: <26D6F1977403764E8B5C4B26F9430E0A0FA2E5EE@NLDNC108PEX1.ubsw.net> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Possible issue with cluster availability following new Leader Election - ZK 3.4 Thread-Index: Ac0uB8BQVl2nwe0jRLiOv/Prj2fccQAiuleQ References: <26D6F1977403764E8B5C4B26F9430E0A0FA2E277@NLDNC108PEX1.ubsw.net> From: To: X-OriginalArrivalTime: 10 May 2012 11:20:04.0464 (UTC) FILETIME=[D90A1700:01CD2E9E] X-Virus-Scanned: clamav-milter 0.97.3 at sldn3028pmh.ldn.swissbank.com X-Virus-Status: Clean X-UBS-Disclaimer: Version $Revision: 1.33 (postfix edition)$ I think there may be a problem here with the 3.4 branch. I dropped the cluster back to 3.3.5 and the behaviour was much better. To summarize: 650mb of data=20 20k nodes of varied size 3 node cluster On 3.4.x (using latest branch build) --------- Takes 3-4 minutes to bring up a cluster from cold Takes 40-50 secs to recover from a leader failure Takes 10 secs for a new follower to join the cluster On 3.3.5 -------- Takes 10-20 secs to bring up a cluster from cold Takes 10 secs to recover from a leader failure Takes 10 secs for a new follower to join the cluster Any views on this from the ZK devs? The differences in behaviour only start becoming apparent as the dataset gets bigger.=20 I was hoping to use 3.4 for the transactional features it offered via the 'multi-update' operations, but this issue seems pretty serious... Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mails are not encrypted and cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. UBS Limited is a company limited by shares incorporated in the United Kingdom registered in England and Wales with number 2035362. Registered office: 1 Finsbury Avenue, London EC2M 2PP. UBS Limited is authorised and regulated by the Financial Services Authority. UBS AG is a public company incorporated with limited liability in Switzerland domiciled in the Canton of Basel-City and the Canton of Zurich respectively registered at the Commercial Registry offices in those Cantons with Identification No: CH-270.3.004.646-4 and having respective head offices at Aeschenvorstadt 1, 4051 Basel and Bahnhofstrasse 45, 8001 Zurich, Switzerland. Registered in the United Kingdom as a foreign company with No: FC021146 and having a UK Establishment registered at Companies House, Cardiff, with No: BR 004507. The principal office of UK Establishment: 1 Finsbury Avenue, London EC2M 2PP. In the United Kingdom, UBS AG is authorised and regulated by the Financial Services Authority. UBS reserves the right to retain all messages. Messages are protected and accessed only in legally justified cases.