Hi Folks, I was reading the zookeeper recipes documentation (http://zookeeper.apache.org/doc/r3.4.3/recipes.html#sc_leaderElection<http://zookeeper.apache.org/doc/r3.4.3/recipes.html>). Step 3 of the ELECTION procedure suggests "where j is the smallest sequence number …" shouldn't this be changed largest as the former will lead to herd effect ?
A quick check on mailing list archives suggest this thread - http://zookeeper-user.578899.n2.nabble.com/leader-election-td6086870.html where same question has been asked and people seem to agree with the suggestion but the documentation error still propagates. Thanks -@nkur