"manik.surtani(a)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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...