[jboss-dev-forums] [Design of JBossCache] - Re: Issues with shunned node rejoining a cluster
bstansberry@jboss.com
do-not-reply at jboss.com
Wed Oct 11 09:48:45 EDT 2006
"manik.surtani at jboss.com" wrote : How do we detect a shun? Do we have a JGroups notification for this?
The org.jgroups.ChannelListener interface provides a callback when the channel is disconnected. That either happens with a shun or during a cache stop(), so the listener can know the difference by knowing if it's stopping.
Re: merging state, I'm not sure what the answer to this is. Probably the way to think it through is to identify in what cases the reconnected node holds state that's worth preserving. Then see if those cases justify the cost of merging vs. doing things like invalidating tx's and just wiping clean. Once we figure out how to do a merge for the non-shunning case we'll have a better idea of the cost of a merge.
I'll realize the above paragraph is a bunch of mush :(
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977545#3977545
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977545
More information about the jboss-dev-forums
mailing list