[infinispan-dev] Transaction table cleanup

Vladimir Blagojevic vblagoje at redhat.com
Thu Oct 18 12:45:11 EDT 2012


Hey guys,

Investigating why EmbeddedCacheManager#cacheRemove hiccups 
DistributedTwoNodesMapReduceTest. As you might recall upon end of 
MapReduceTask there is EmbeddedCacheManager#cacheRemove call to remove 
intermediate caches across the cluster. Very often, almost every test 
run, execution of cache remove is blocked by ongoing transactions that 
have not completed - more specifically TransactionTable shows pending 
remote transaction. This in turn prevents cache stop call, which in turn 
causes a timeout on cache remove thus failing the test.

MapReduce uses txs in MapReduceManagerImpl#combine - it might well be 
that there is smth wrong there or it could be that somehow 
TxCompletionNotificationCommand is not cleaning up remote txs. Either 
way I would appreciate some help here - Mircea?

Regards,
Vladimir


More information about the infinispan-dev mailing list