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

lucdewav do-not-reply at jboss.com
Wed Jan 24 16:50:33 EST 2007


Hi,

I have a newbie question. I'd like to know how the Pojo cache (1.4.1) behaves in case of failure of a node in a 2 nodes cluster.

Our Pojo cache is configured to perform synchronous replication and to be transactional (the JTA transaction manager of our application server is used).

When a node is down and we call transactional methods that update objects in the cache, everything works fine without any error.

So i guess there's a node state detection implemented as a multicast heartbeat or something equivalent. But:
- what would be the behavior if an update of a cached object is done on a node and at the same time the other node crashes or can not be accessed ? Reading the docs it says that an exception is thrown (of which type ?)
and the transaction is rolled back.
- How does Jboss cache make the difference between a shutdown node and node that can not be reached (synchronisation can not be performed) due to network failure or a Jvm freeze ?

Thanks in advance. 

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

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



More information about the jboss-user mailing list