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

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Sun Jan 18 12:15:04 EST 2009


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

Brian Stansberry updated JBAS-6375:
-----------------------------------

    Fix Version/s: JBossAS-5.1.0.Beta1
         Assignee: Paul Ferraro  (was: Brian Stansberry)


Paul, can you fix this for 5.1.0?

> 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