]
Brian Stansberry updated JBAS-4228:
-----------------------------------
Fix Version/s: JBossAS-5.0.0.CR1
Assignee: Alex Fu (was: Brian Stansberry)
Preferred server HASingletonElectionPolicy
------------------------------------------
Key: JBAS-4228
URL:
http://jira.jboss.com/jira/browse/JBAS-4228
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Clustering
Reporter: Brian Stansberry
Assigned To: Alex Fu
Fix For: JBossAS-5.0.0.CR1
An HASingletonElectionPolicy impl that allows configurable specification of a
"preferred server". If the preferred server is running, it's the master,
otherwise the master is deterministically selected based on the standard policy.
1) Determine if you are the preferred server by comparing you node name to the configured
"preferred server" value.
2) When you get a view change, check if preferred server is in the view. If yes, and
you're the preferred server, become master, otherwise don't. If preferred server
is not in view, fall back on the base policy.
Have to make sure the mechanism of identifying and matching the "preferred
server" is bullet proof (machine names vs. configuration-specified names vs. IP
addresses, plus ports.)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: