zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Shraer <shra...@gmail.com>
Subject Re: Uninvited ZK joins the cluster
Date Wed, 09 Sep 2015 19:26:48 GMT

There were some thoughts to send and check the database id (if I'm not
mistaken its called dbid) when servers connect to each other, which should
be different for different zookeepers. It shouldn't be difficult to add, if
you'd like to work on it.


On Wed, Sep 9, 2015 at 11:04 AM, Benjamin Jaton <benjamin.jaton@gmail.com>

> Hi,
> First I build a 3 nodes cluster (A,B,C) with zk.reconfig commands.
> Now we stop the all the ZK, and we make a new cluster (A,B,D) configured
> with the same ports.
> In that scenario, if you start C, it will join the ensemble, becoming
> (A,B,C,D).
> The problem is that it's not the same ensemble, C shouldn't have been
> allowed to join the new ensemble.
> Is there a way to prevent this from happening? (even if it's hacky)
> Thanks,
> Ben

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