[infinispan-dev] Tx and rollback

Mircea Markus mircea.markus at jboss.com
Wed Dec 8 12:01:42 EST 2010

Two situations:
1. Whenever a cache method that is called within the scope of a transaction throws an exception the transaction it is marked for rollback (InvocationContextInterceptor.markTxForRollbackAndRethrow)
2. A node leaves and there is a transaction on another node that has locked acquired on the node that leaves the cluster. In this situation the transaction will fail during the commit phase (StaleTransactionCleanup.onViewChange).


On 8 Dec 2010, at 15:31, Vladimir Blagojevic wrote:

> Hey,
> How would I find out why a certain tx is getting marked for rollback? I 
> am interested in pinpointing source code location in Infinispan code 
> base where txs are marked for rollback. I need this for ISPN-799.
> Cheers,
> Vladimir
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

More information about the infinispan-dev mailing list