The clients store the last transaction id that was successfully
communicated with the previous zookeepers. Every time a client connects
with a server it sends the last transaction id the client has seen. If the
server has not seen this transaction id, it refuses the connection.
So your case, the clients will fail to connect to the new cluster that was
started in a blank state.
On Tue, Jan 21, 2014 at 3:19 PM, Jie Yu <[EMAIL PROTECTED]> wrote:
> I am curious what would have happened if the following scenario happens:
> Say I have a zookeeper cluster with 3 replicas. What if all three replicas
> are down and their transaction logs are wiped. What would happen if I start
> the cluster again? Will the cluster be able to start? Or there is some
> safety mechanism that prevents the cluster from starting up?
> - Jie