Using the LeaderSelector recipe, how might some external process (with ZK access) get the elected leader to give up its leadership? Of course there might be some other communication channels like HTTP but this question disregards those options. Also disregard a ZK queue recipe as a communication medium to the leader, which would work but may be heavy-handed. So I'm wondering if there's a relatively simple / lightweight option.
My higher level need is to prioritize potential leaders based on some globally known metadata (e.g. a file in ZK for example) where all candidates agree on which candidates are the most preferred leaders. If a candidate starts its LeaderSelector and also recognizes that he "should" be the leader, I want him to negotiate this with the current leader. Perhaps I should be thinking about this in some other way; I'm not sure. I'd be happy to ask this in a new thread if asked. ~ David Smiley Apache Lucene/Solr Search Developer http://www.linkedin.com/in/davidwsmiley