The actions will be performed by the leader node. So, if the leader goes down 
no actions occur. So, I don’t follow your concern. 


On January 27, 2015 at 2:04:03 PM, Ricardo Ferreira ([email protected]) 
wrote:

Sure, I understand that.

There are also no guarantees if the leader node goes down and an action must be 
performed in between heartbeats The Zookeeper client wont yet be aware a node 
is down and the cluster's state will be inconsistent, right?

On Tue, Jan 27, 2015 at 5:54 PM, Jordan Zimmerman <[email protected]> 
wrote:
No. If a non-leader dies there is not a new leader election. The current leader 
stays leader.

-JZ

On January 27, 2015 at 12:50:43 PM, Ricardo Ferreira ([email protected]) 
wrote:

And from what you described, it gets worse: If a non-leader dies, leadership 
election will take place and a new leader might be elected, right?


Reply via email to