I've accumulated a bunch of patches that should (hopefully) improve les-recipe usage and need review and inclusion. Please be so kind and give them a look:
ZOOKEEPER-1209 : LeaderElection recipe doesn't handle the split-brain issue, n/w disconnection can bring both the client nodes to be in ELECTED
ZOOKEEPER-1219 : LeaderElectionSupport recipe is unnecessarily dispatching the READY_START event even if the ELECTED node stopped/expired simultaneously.
ZOOKEEPER-1225 : Successive invocation of LeaderElectionSupport.start() will bring the ELECTED node to READY and cause no one in ELECTED state.
Patrick Hunt 2011-11-29, 21:24
Rakesh R 2011-11-30, 08:52