[infinispan-dev] Transaction table cleanup

Mircea Markus mircea.markus at jboss.com
Fri Oct 19 12:40:42 EDT 2012


On 19 Oct 2012, at 07:41, Vladimir Blagojevic wrote:

> On 12-10-19 4:15 AM, Manik Surtani wrote:
>> 
>> You're right actually, the temporary cache created is transactional. it is built in the CreateCacheCommand and relies on the DummyTransactionManager, might be better to use batching perhaps? Or even not require for this cache to be transactional?
>> 
>> Yes, we should keep such internal caches as simple as possible.
>> 
> Mircea/Manik, it could be batch I believe. If you recall Mircea, you and I talked about how to effectively move data across cluster deadlock free - we even agreed we should blog post about it :-) https://issues.jboss.org/browse/ISPN-2156
> 
> Mircea/Manik could I get some advice and code review for MapReduceManagerImpl#combine?
Thanks Vladimir. The only change to make is CreateCacheCommand.create, configure the cache to be batchable[1]. Then in the MapReduceManagerImpl#combine, don't use the TransactionManager.beggin/commit but the batch API.

[1] https://docs.jboss.org/author/display/ISPN/Batching 

> 
> Thanks guys,
> Vladimir
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

Cheers,
-- 
Mircea Markus
Infinispan lead (www.infinispan.org)




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20121019/6c445702/attachment.html 


More information about the infinispan-dev mailing list