Discussion of http://jira.jboss.com/jira/browse/JBAS-5577 .
I can understand the desire for this, but let's be careful about overly harming performance or adding too much complexity to support it.
The difficulty I see here is the HAPartition.callMethodOnCluster invocation returns a list with no identifying information about who returned the response. So, trying to pick a response based on a previous response won't work at the HA-JNDI level.
It could be made more random simply by picking a random location to start iterating through the list.
"bstansberry@jboss.com" wrote:
It could be made more random simply by picking a random location to start iterating through the list.