[
http://jira.jboss.com/jira/browse/JBAS-2071?page=all ]
Brian Stansberry resolved JBAS-2071.
------------------------------------
Fix Version/s: JBossAS-4.0.5.CR1
(was: JBossAS-4.0.6.CR1)
Resolution: Done
Need a mechanism to retrieve FamilyClusterInfo in a
consistent/synchronized way
-------------------------------------------------------------------------------
Key: JBAS-2071
URL:
http://jira.jboss.com/jira/browse/JBAS-2071
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Components: Clustering
Affects Versions: JBossAS-4.0.3RC1
Reporter: Adrian Brock
Assigned To: Brian Stansberry
Fix For: JBossAS-4.0.5.CR1
The retrieveal of the FamilyClusterInfo information is not done a consistent way.
e.g. the targets and view id could be retrieved across a view change
public void JRMPInvokerProxyHA::writeExternal(final ObjectOutput out)
throws IOException
{
ArrayList targets = this.familyClusterInfo.getTargets();
--> View change here
long vid = this.familyClusterInfo.getCurrentViewId ();
targets.trimToSize();
out.writeObject(targets);
out.writeObject(this.loadBalancePolicy);
out.writeObject (this.proxyFamilyName);
out.writeLong (vid);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira