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 E0F82C81B for ; Mon, 14 May 2012 15:30:56 +0000 (UTC) Received: (qmail 46768 invoked by uid 500); 14 May 2012 15:30:56 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 46712 invoked by uid 500); 14 May 2012 15:30:56 -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 46492 invoked by uid 99); 14 May 2012 15:30:56 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 May 2012 15:30:56 +0000 Received: from localhost (HELO mail-ey0-f170.google.com) (127.0.0.1) (smtp-auth username camille, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 May 2012 15:30:55 +0000 Received: by eaal12 with SMTP id l12so715581eaa.15 for ; Mon, 14 May 2012 08:30:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.197.167 with SMTP id iv7mr4515185igc.32.1337009453161; Mon, 14 May 2012 08:30:53 -0700 (PDT) Received: by 10.231.53.211 with HTTP; Mon, 14 May 2012 08:30:53 -0700 (PDT) In-Reply-To: <26D6F1977403764E8B5C4B26F9430E0A0FA2E73D@NLDNC108PEX1.ubsw.net> References: <26D6F1977403764E8B5C4B26F9430E0A0FA2E277@NLDNC108PEX1.ubsw.net> <26D6F1977403764E8B5C4B26F9430E0A0FA2E5EE@NLDNC108PEX1.ubsw.net> <26D6F1977403764E8B5C4B26F9430E0A0FA2E73D@NLDNC108PEX1.ubsw.net> Date: Mon, 14 May 2012 11:30:53 -0400 Message-ID: Subject: Re: Possible issue with cluster availability following new Leader Election - ZK 3.4 From: Camille Fournier To: user@zookeeper.apache.org, dev@zookeeper.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks. I just ran a couple of tests to start the debugging. Mark, I don't see a long cluster settle with a mostly empty data set, so I think this might be two different problems. I do see a lot of snapshots being sent though so there is probably some overaggressiveness in the way that we evaluate when to send snapshots that should be evaluated. Adding the dev mailing list, as I may need ben or flavio to take a look as well. C On Thu, May 10, 2012 at 10:48 AM, wrote: > Cheers - Raised https://issues.apache.org/jira/browse/ZOOKEEPER-1465 > > > > -----Original Message----- > From: Camille Fournier [mailto:camille@apache.org] > Sent: 10 May 2012 14:58 > To: user@zookeeper.apache.org > Subject: Re: Possible issue with cluster availability following new Leade= r Election - ZK 3.4 > > I will take a look at this soon, have you created a Jira for it? If not p= lease do so. > > Thanks, > C > > On Thu, May 10, 2012 at 7:20 AM, =A0 wrote= : >> 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 >> 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. >> 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. =A0UBS 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. =A0Registered 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. =A0The principal office of UK Establishment: 1 Finsbury >> Avenue, London EC2M 2PP. =A0In 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. > 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. =A0UBS 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. =A0Registered 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. =A0The principal office of UK Establishment: 1 Finsbury Avenue= , > London EC2M 2PP. =A0In 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.