[infinispan-dev] Why DistTxInterceptor in use with Hot Rod ?
Galder Zamarreño
galder at redhat.com
Tue Sep 13 12:22:48 EDT 2011
Hi,
I'm looking at this failure http://goo.gl/NQw4h and I'm wondering why "org.infinispan.distribution.RehashInProgressException: Timed out waiting for the transaction lock" is thrown?
This is thrown DistTxInterceptor which is added by the InterceptorChainFactory:
if (configuration.getCacheMode().isDistributed())
interceptorChain.appendInterceptor(createInterceptor(DistTxInterceptor.class));
else
interceptorChain.appendInterceptor(createInterceptor(TxInterceptor.class));
However, this is a Hot Rod test and the cache is not configured with a transaction manager, so is DistTxInterceptor really needed?
In fact, why a TxInterceptor if no transaction manager is configured? (this kinda goes back to Mircea's email earlier today about a transactions enabled/disabled flag)
Cheers,
--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache
More information about the infinispan-dev
mailing list