For more background info, see:
http://community.jboss.org/message/636797#636797
On Nov 17, 2011, at 4:20 PM, Galder Zamarreño wrote:
On Nov 17, 2011, at 2:54 PM, Manik Surtani wrote:
> On 17 Nov 2011, at 09:30, Galder Zamarreño wrote:
>
>> Hi,
>>
>> Forcing caches to be either transactional or non transactional caches causes some
issues with operations such as putForExternalRead with default configuration options.
>>
>> Assuming we have a transactional cache, if autoCommit is on (default),
putForExternalRead will:
>> 1. Suspend the ongoing transaction
>> 2. Will create a brand new transaction due to implicit transaction creation logic
in auto commit.
>>
>> This is not good.
>
> What's not good about this? 1 is by design and is correct behaviour. 2 should
not affect anything, since the new tx is completed at the end of the PFER invocation.
2 does not affect anything but seems wasteful to me. Why start a transaction when I
don't need one?
>
> Cheers
> Manik
>
> --
> Manik Surtani
> manik(a)jboss.org
>
twitter.com/maniksurtani
>
> Lead, Infinispan
>
http://www.infinispan.org
>
>
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache