You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Elias Levy <fe...@gmail.com> on 2015/10/10 19:18:23 UTC
Behavior of server after loosing its state
Good day,
I am wondering what is the expected behavior of a ZK server that is part of
an ensemble that looses its state after a restart, but keeps the same
server id. Will the server successfully rejoin the cluster and replicate
the cluster's data?
Re: Behavior of server after loosing its state
Posted by Camille Fournier <ca...@apache.org>.
The node would follow the leader and receive a snapshot of the current
server state.
C
On Oct 10, 2015 1:25 PM, "Elias Levy" <fe...@gmail.com> wrote:
> Correct. To put it another way, what would occur if a node left the
> cluster and another fresh node joined the cluster using the same server id?
>
>
> On Sat, Oct 10, 2015 at 10:22 AM, Camille Fournier <ca...@apache.org>
> wrote:
>
> > Do you mean that the logs and snapshots are deleted off the machine?
>
Re: Behavior of server after loosing its state
Posted by Elias Levy <fe...@gmail.com>.
Correct. To put it another way, what would occur if a node left the
cluster and another fresh node joined the cluster using the same server id?
On Sat, Oct 10, 2015 at 10:22 AM, Camille Fournier <ca...@apache.org>
wrote:
> Do you mean that the logs and snapshots are deleted off the machine?
Re: Behavior of server after loosing its state
Posted by Camille Fournier <ca...@apache.org>.
Do you mean that the logs and snapshots are deleted off the machine?
On Oct 10, 2015 1:18 PM, "Elias Levy" <fe...@gmail.com> wrote:
> Good day,
>
> I am wondering what is the expected behavior of a ZK server that is part of
> an ensemble that looses its state after a restart, but keeps the same
> server id. Will the server successfully rejoin the cluster and replicate
> the cluster's data?
>