XMLWordPrintable

    Details

    • Affects:
      Release Notes
    • Release Notes Text:
      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.
    • Release Notes Docs Status:
      Documented as Resolved Issue
    • Docs QE Status:
      NEW

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dereed Dennis Reed
                  Reporter:
                  dereed Dennis Reed
                  Writer:
                  Scott Thomas
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: