[jboss-dev-forums] [Design of Clustering on JBoss (Clusters/JBoss)] - Re: JBAS-4919 - ha singletons in heterogenous topologies

galder.zamarreno@jboss.com do-not-reply at jboss.com
Tue Jan 15 15:24:09 EST 2008


"bstansberry at jboss.com" wrote : My expectation here is any custom impl will be based off the base class, so we're handling the trivial stuff of storing the partition and singleton service refs.  And if someone makes there own impl not using the base class and can't get that part right, well ....

I see. I've been looking around for a wiki on ha singleton election policy, recommended way to create one...etc but couldn't find anything. I think we need one. Also, the 4.2.2.beta docu seems to have a section on this (see http://labs.jboss.com/file-access/default/members/jbossas/freezone/docs/Clustering_Guide/beta422/html/ch05s11s04.html), but there's no mention of the HA singleton election policies.

"bstansberry at jboss.com" wrote : Another thing to be aware of:  the arg passed to HASingletonSupport.partitionTopologyChanged is really List newReplicants, where the list elements are *not* instances of ClusterNode.  They are whatever "replicant" was registered for the service (i.e. an invoker stub, or in this case probably a String).  There needs to be a translation into List.  Looks like the way to do this is via DRM.lookupReplicantsNodeNames(String).

Thanks for the heads up :).

"bstansberry at jboss.com" wrote : BTW, I downgraded this back to Major as the standard deploy-hasingleton in 4.2 is not using HASingletonElectionPolicy.

Ok.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120216#4120216

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120216



More information about the jboss-dev-forums mailing list