[jboss-jira] [JBoss JIRA] (AS7-3295) SingletonService does not call election policy for single-node clusters
Paul Ferraro (JIRA)
jira-events at lists.jboss.org
Wed Jan 18 10:48:19 EST 2012
[ https://issues.jboss.org/browse/AS7-3295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Ferraro updated AS7-3295:
------------------------------
Fix Version/s: 7.1.0.Final
Git Pull Request: https://github.com/jbossas/jboss-as/pull/1094 (was: https://github.com/jbossas/jboss-as/pull/1094)
> SingletonService does not call election policy for single-node clusters
> -----------------------------------------------------------------------
>
> Key: AS7-3295
> URL: https://issues.jboss.org/browse/AS7-3295
> Project: Application Server 7
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 7.1.0.CR1b
> Reporter: James Livingston
> Assignee: Paul Ferraro
> Fix For: 7.1.0.Final
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list