Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3295

SingletonService does not call election policy for single-node clusters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.Final
    • 7.1.0.CR1b
    • Clustering
    • None

    Description

      SingletonService.elect() currently checks whether there is only a single node in the cluster view and returns that node as the master rather then delegating to the election policy. While the policy obviously cannot return any other node it could have returned null instead, and not delegating prevents that from happening.

      This means that it is impossible to implement an election policy that requires a quorum, since single-node cluster caused by a split will elect itself as master rather than letting the election policy return null to indicate it should have no HA singleton services running.

      Attachments

        Issue Links

          Activity

            People

              pferraro@redhat.com Paul Ferraro
              rhn-support-jlivings James Livingston (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: