[jboss-user] [JBossCache] - Re: Behaviour of the cache in case of a node failure

manik.surtani@jboss.com do-not-reply at jboss.com
Fri Jan 26 03:54:06 EST 2007


This is actually will have an indeterminate outcome.  

It will depend on a number of factors, including how the network heals.  JGroups again has a lot of documentation on merging.  The problem with the 'split brain' scenario you describe is that there is no way of knowing which version of the data is the more up-to-date one.  Timestamps are of relatively little value (unless you have sync clocks, but even these could have gone out of sync during the disconnect).

The only thing you can be sure of after such an event is that a subsequent write to the node (on either member) will bring them both in sync again.

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

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



More information about the jboss-user mailing list