OK maybe I'll dig into it.

Is there anything the user could do without changing the code?

On Wed, Sep 9, 2015 at 12:26 PM, Alexander Shraer <[email protected]> wrote:

> Hi,
>
> 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.
>
> Alex
>
> On Wed, Sep 9, 2015 at 11:04 AM, Benjamin Jaton <[email protected]>
> wrote:
>
> > 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
> >
>

Reply via email to