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).
Cheers,
Mircea
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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev