HASingletonElectionPolicySimple does not handle heterogeneous topologies
------------------------------------------------------------------------
Key: JBAS-4919
URL:
http://jira.jboss.com/jira/browse/JBAS-4919
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Clustering
Affects Versions: JBossAS-5.0.0.Beta2
Reporter: Brian Stansberry
Assigned To: Brian Stansberry
Fix For: JBossAS-4.2.3.GA
HASingletonElectionPolicySimple is just getting the current view from HAPartition and
making a decision based on that, ignoring the fact that the service it's managing may
not be running on all members of the cluster.
The HASingletonElectionPolicy API should be changed. The isMasterReplica method should
take (List<ClusterNode> newReplicants, int newViewID) rather than HAPartition. The
partition is provided via dependency injection at startup, no need to pass it in the
method call. HASingletonElectionPolicySimple uses the provided replicants to make its
decision, not the HAPartition view.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira