[jboss-jira] [JBoss JIRA] Resolved: (JBAS-6375) PreferredMasterElectionPolicy unnecessarily parses host/port every election

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Feb 9 23:01:11 EST 2010


     [ https://jira.jboss.org/jira/browse/JBAS-6375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry resolved JBAS-6375.
------------------------------------

    Fix Version/s:     (was: JBossAS-6.0.0.M3)
       Resolution: Done


> PreferredMasterElectionPolicy unnecessarily parses host/port every election
> ---------------------------------------------------------------------------
>
>                 Key: JBAS-6375
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6375
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Clustering
>    Affects Versions: JBossAS-5.0.0.GA
>            Reporter: Paul Ferraro
>            Assignee: Paul Ferraro
>            Priority: Minor
>             Fix For: JBossAS-5.1.0.Beta1
>
>
> PreferredMasterElectionPolicy parses the host/port from a string on every call to elect(List<ClusterNode>).  This ought to be done in setPreferredMaster(String) to minimize the work required during the master election.  Performing this in the property's mutator method doubles as validation logic.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list