Hi Lory_yang, Thanks for asking questions. As I understand your question, you're asking about leader election, which we call FLE (Fast Leader Election). The idea is to select one server out of a pool of available servers. Each server (or peer) will have a QuorumPeer started, so it does allow multiple QuorumPeer instances started. In fact, without a quorum of peers, election won't terminate.
-Flavio On Sep 26, 2012, at 7:23 AM, Wang Yang wrote: > Hi, > > I'm reading the source code of zk these days. And first, can I ask > some question about source code in this mail list? > > And my question seems foolish: > I find there can be more than one QuorumPeer start leader election. Am > I right? And the Fast Paxos can ensure the election correct under this > situation, is it right? > > Thanks! > Lory_yang
