-
1. Re: JBoss 3.2.2 - Round-Robin load balancing.
slbain May 14, 2004 11:16 AM (in response to slbain)Hi,
This thread has been running on the JMX Forum:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=49615
This is the more appropriate forum.
I traced my problem down to the smart-proxy having its list of targets updated on the return from the invocation.
I got down to the JRMPInvokerHA.invoke() method where the HARMIResponse is constructed. There is a comparison between the from the Invocation instance and the <HATarget.clusterViewId> and these are not equal so the change is triggered.
Now I looked into the JGroups/HAPartitionImpl interactions at the JGroups interface to try to understand how the HATarget gets its value set. I noticed the these 'low-level' view ids are not the same as the values displayed in the jmx-console 'DefaultPartition' mbean 'view id'. The high-level values are consistent across the cluster nodes. Some sequentially incremented value.
I have traced through the DitributeReplicantManagerImpl.purgeDeadMembers() and calculateReplicantHash() but can see no relation to the high-level clustered view id.
Why is the high-level view id not propogated down to this lower-level ? i.e. associate the 'replicants' directly with the cluster-wide view id.
Thanks for your help!
sinclair