-
Type:
Sub-task
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: EAP_EWP 5.1.2
-
Fix Version/s: EAP_EWP 5.2.0
-
Component/s: Clustering
-
Labels:None
-
Affects:Release Notes
-
Release Notes Text:
-
Release Notes Docs Status:Documented as Resolved Issue
-
Docs QE Status:NEW
A custom HASingleton election policy is not called when there is only one member in the cluster.
org.jboss.ha.framework.server.HASingletonImpl.election()
{ List candidates = getElectionCandidates(); if ((candidates == null) || (candidates.isEmpty())) return null; return ((candidates.size() == 1) ? (ClusterNode)candidates.get(0) : this.electionPolicy.elect(candidates)); }The hard-coded check for size == 1 should be removed, and the custom policy should always be called.
This bug prevents policies that do not start HASingletons if a quorum is not reached.
- incorporates
-
JBCLUSTER-297 HASingleton custom election policy isn't called with only one member
-
- Resolved
-
- is related to
-
AS7-3295 SingletonService does not call election policy for single-node clusters
-
- Resolved
-