zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sampath Perera <samp...@adroitlogic.com>
Subject Re: Fast leader election initial delay, is that possible?
Date Thu, 18 Aug 2011 07:15:13 GMT
Hi Ted,

Thanks for the quick response.

On Thu, Aug 18, 2011 at 10:49 AM, Ted Dunning <ted.dunning@gmail.com> wrote:

> Well, it is exactly the same situation as any other situation where
> connection to another server fails.

Hhmmm, I think this is a bit different isn't it? Here we know that the first
server to come will be failing to connect to the other as they are not yet
up. Anyway our real issue is the warning.

>  There is no need to insert a delay here
> unless you think that there should be a delay before this particular
> warning
> should be considered a warning.

That would actually give a fix to the problem that we are seeing.

> Would you like to suggest a patch?

Of course I do.. will prepare a patch and attach.

> On Wed, Aug 17, 2011 at 8:40 PM, Sampath Perera <sampath@adroitlogic.com
> >wrote:
> > So my question is whether it is possible to configure an initial delay
> for
> > the FastLeaderElection to be kicked off?
> >
> > The rationale being that it is highly unlikely that all 3 nodes started
> at
> > the same time, even in the case where we try to command the startups at
> the
> > same time, and we could get rid of this stacktrace from the logs, as this
> > will trigger warning on the tools that are monitoring the logs, yet is
> not
> > actually a WARN rather an expected error.
> >


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message