zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jared Cantwell <jared.cantw...@gmail.com>
Subject Re: question about server reconfig
Date Wed, 15 Dec 2010 01:35:24 GMT
That's interesting, I would say the opposite though.  ZK uses the myid file
when starting to know which node in the config file corresponds to itself.
 If the myid file doesn't match a "server.X" entry in the config file, then
I imagine it would fail to start successfully, not knowing which ip/ports
are for itself.  Maybe someone who isn't guessing should answer though.


On Tue, Dec 14, 2010 at 8:25 PM, Ted Dunning <ted.dunning@gmail.com> wrote:

> Yuliya just asked me this:
> > If "myid" in ZK datadir gets overwritten with different from existing
> number (still unique within ensemble) will it create an issue while ZK is
> running?
> My suggested answer is that it won't hurt anything, but it may cause that
> node to discard any snapshots or logs created under the old id.
> Anybody have corrections or amplifications to this?

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