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

SingletonService does not call election policy for single-node clusters


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

      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.

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