Hi Filip, I have integrated the NonBlockingCoordinator & committed to the Axis2 trunk. One thing I noticed is that even if the current coordinator is alive, and a new member joins, it is possible for the new member to be made the coordinator while the existing coordinator transforms into a normal member. Is this the intended behavior? Is it possible to change the coordinator only if the existing coordinator fails?
Thanks Azeez On Tue, Apr 24, 2012 at 11:26 AM, Afkham Azeez <afk...@gmail.com> wrote: > Thanks for the pointers Filip. I will take a look. > > > On Mon, Apr 23, 2012 at 9:12 PM, Filip Hanik Mailing Lists < > devli...@hanik.com> wrote: > >> >> http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/tribes/group/interceptors/package-summary.html >> >> Take a look at SimpleCoordinator and NonBlockingCoordinator >> >> Equally simple to implement your own based on the requirement you have >> for leader election. >> >> It does depend on what you need leader ship for, sometimes, like virtual >> synchrony, leaders are used to determine atomic delivery of a message to an >> entire group. Either the entire group gets it, or doesn't. >> >> Filip >> >> ----- Original Message ----- >> > From: "Afkham Azeez" <afk...@gmail.com> >> > To: "Tomcat Users List" <users@tomcat.apache.org> >> > Sent: Monday, April 23, 2012 6:38:31 AM >> > Subject: Tribes coordinator >> > >> > We are using Tribes in Axis2. In a cluster, we want to have leader >> > election, and one member to be designated as the coordinator. How can >> > this >> > be achieved using Tribes? >> > >> > Thanks >> > Azeez >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >>