[jboss-user] [JBoss Cache: Core Edition] - Merging View content after splits

clajoie do-not-reply at jboss.com
Tue May 26 07:36:14 EDT 2009


I'd like to more gracefully handle group splits.  Here's what I've gotten to so far.

Cache objects can have CacheListeners registered.  I can create a listener and annotate it so that it picks up ViewChangedEvents.  In an Event I can see if the View is a MergeView.

>From here the plan was to determine a primary partition by simply picking the view with the largest number of members.  Then request the state from the other partitions and merge that state in to the primary partition.  Finally, force the other members to leave the group and rejoin, thus syncing up their state with the primary partition.

However, I can't find a way to gain access to the state of the other members.  Can some one point me to what I'm missing here?

Thanks

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

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



More information about the jboss-user mailing list