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 BAD017730 for ; Mon, 19 Dec 2011 18:26:22 +0000 (UTC) Received: (qmail 78665 invoked by uid 500); 19 Dec 2011 18:26:22 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 78644 invoked by uid 500); 19 Dec 2011 18:26:22 -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 78636 invoked by uid 99); 19 Dec 2011 18:26:22 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Dec 2011 18:26:22 +0000 Received: from localhost (HELO mail-fx0-f42.google.com) (127.0.0.1) (smtp-auth username phunt, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Dec 2011 18:26:22 +0000 Received: by faan2 with SMTP id n2so3183166faa.15 for ; Mon, 19 Dec 2011 10:26:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.83.69 with SMTP id o5mr1144666wiy.1.1324319180178; Mon, 19 Dec 2011 10:26:20 -0800 (PST) Received: by 10.227.42.211 with HTTP; Mon, 19 Dec 2011 10:26:20 -0800 (PST) In-Reply-To: <612341B43BAA4251A6B45C7D88D826D0@china.huawei.com> References: <612341B43BAA4251A6B45C7D88D826D0@china.huawei.com> Date: Mon, 19 Dec 2011 10:26:20 -0800 Message-ID: Subject: Re: Zookeeper is taking considerable amount of time to serve the requests after FLE From: Patrick Hunt To: user@zookeeper.apache.org, amithdk@huawei.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Access to your configuration is critical given it has a significant impact on timing. Version of zk would likely be helpful. Logs would provide a lot more insight. Patrick On Sun, Dec 18, 2011 at 8:01 PM, amithdk wrote: > Hi > > > > In my test, I found like after FLE leader and follower are elected, > > Still clients are not able to connect to the server for ~10 seconds > > > > Exact scenario is like > > 1. =A0 =A0 =A0zookeeper ensemble with 3 servers > 2. =A0 =A0 =A0started 60 clients (other process) > 3. =A0 =A0 =A0restarted leader > 4. =A0 =A0 =A01 follower which has become leader didn't serve any client = for 10 > sec > > > > I am afraid that if this delay is more than session time out then session > can expiry? > > > > >