XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • EAP_EWP 5.2.0
    • EAP_EWP 5.1.2
    • Clustering
    • None
    • Release Notes
    • Hide
      An issue that prevented a custom HASingleton election policy from being called if there was only one node in a cluster has been resolved in this release. The issue meant that a custom HASingleton election policy could not prevent a singleton from running at all in the cluster (such as a quorum policy). In this release, the custom HASingleton election policy is always called, meaning it can prevent a singleton from running at all in the cluster.
      Show
      An issue that prevented a custom HASingleton election policy from being called if there was only one node in a cluster has been resolved in this release. The issue meant that a custom HASingleton election policy could not prevent a singleton from running at all in the cluster (such as a quorum policy). In this release, the custom HASingleton election policy is always called, meaning it can prevent a singleton from running at all in the cluster.
    • Documented as Resolved Issue
    • 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.

            rhn-support-dereed Dennis Reed
            rhn-support-dereed Dennis Reed
            Scott Thomas Scott Thomas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: