users@shoal.java.net

Re: [Shoal-Users] leader problem

From: Sheetal Vartak <Sheetal.Vartak_at_Sun.COM>
Date: Thu, 10 Apr 2008 14:18:24 -0700

Hi Rogerio,
Glad to know that you are using Shoal.
Are the instances running on different machines part of the same group?
If so, there should not be more than one leader. Can you please file a
bug (issue) at the Shoal IssueTracker : https://shoal.dev.java.net/issues/
It will help if you can attach some log messages for this issue.

Thanks
Sheetal

Rogerio Maretti wrote:
> Hi Shreedhar,
>
> I'm using shoal in the project I've been working at, related to fault tolerance. I'll have only CORE members (n), but only the leader will have the power to do things such as connecting to other systems, etc. When I test the application running many instances (members) in the same machine, the application works well, but when I test each instance running in different machines at the same network, the application doesn't work well, sometimes it elects more than one leader, which couldn't happen in my application logic. Do you have any idea of what is happening?
>
> I didn't change the configuration of ServiceProviderConfigurationKeys, I pass null.
> GMSFactory.startGMSModule(instanceName, "TEST_GROUP", GroupManagementService.MemberType.CORE, null);
>
> Thanks,
> Rogério Maretti
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_shoal.dev.java.net
> For additional commands, e-mail: users-help_at_shoal.dev.java.net
>
>

--