]
Paul Ferraro updated AS7-3295:
------------------------------
Fix Version/s: 7.1.0.Final
Git Pull Request:
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: