On Sep 14, 2010, at 12:29 PM, Mircea Markus wrote:
On 14 Sep 2010, at 11:25, Galder Zamarreño wrote:
>
> On Sep 13, 2010, at 11:06 PM, Manik Surtani wrote:
>
>>
>> On 13 Sep 2010, at 19:26, Sanne Grinovero wrote:
>>
>>> An important feature I'm missing when using batches but not using a
>>> transaction manager is the capability to eagerly lock keys, because
>>> there's no unlock.
>>
>> This applies to regular JTA transactions as well as batching, correct?
>
> As a side note, this goes back, slightly, to my original question on batching.
>
> Does batching (without a TM) make sense with eager locking?
batching always go with a TM under the hood. If user doesn't specify one then
BatchModeTransactionManager is used (it implements DummyTM).
Hmmm, but can you trust the DummyTM to deal with multi node coordinator of lock
acquisitions? Do rollbacks properly? Or when recovery is implemented, do recovery as
well?
> With JTA, we know locks are released at commit time thanks to
multi node coordination.
>
> However, does multi node coordination happen when batching without TM is used? If
not, eager locking does not make sense with batching.
>
>>
>> --
>> Manik Surtani
>> manik(a)jboss.org
>> Lead, Infinispan
>> Lead, JBoss Cache
>>
http://www.infinispan.org
>>
http://www.jbosscache.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
_______________________________________________
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