Re: ZooKeeper's leader election algorithm details?

2009-04-13 Thread Flavio Junqueira
Andrey, We can't use bully because we have to determine the server with highest zxid, and servers do not know it beforehand. They know each others' ids, but not the last zxid each one processed. Could you be more explicit on what you mean with a more formal description? What kind of informa

Re: ZooKeeper's leader election algorithm details?

2009-04-13 Thread Mahadev Konar
Hi andrew, You should be able to read about leader election in the presentation at http://wiki.apache.org/hadoop/ZooKeeper/ZooKeeperPresentations Specifically the last one at UPC. It explains the leader election in the ppt slides. We should also document it somewhere on the wiki or in our forres