[infinispan-dev] optimistic (or not)
Mircea Markus
mircea.markus at jboss.com
Thu Sep 27 12:09:34 EDT 2012
As we name the transactions optimistic, wouldn't' it make more sense to have WSK functionality enabled by default? (even though that would imply using repeatable_read).
I mean as a user I kind of expect the tx to fail for optimistic transactions when there's a write skew...
On 27 Sep 2012, at 16:12, Manik Surtani wrote:
> WSK only works for repeatable read. By default we use read committed.
>
> On 27 Sep 2012, at 16:07, Mircea Markus <mircea.markus at jboss.com> wrote:
>
>> Hi,
>>
>> By default our optimistic transactions don't have writeSkewCheck enabled so their behaviour is counterintuitive for the user. That's because they don't fault the commit in the case of a concurrent change.
>> Anyone can remember why these defaults are being used?
>> I'd rather have optimistic transactions with WSK enabled by default so that we won't confuse users.
>>
>> Cheers,
>> --
>> Mircea Markus
>> Infinispan lead (www.infinispan.org)
>>
>>
>>
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
> --
> Manik Surtani
> manik at jboss.org
> twitter.com/maniksurtani
>
> Platform Architect, JBoss Data Grid
> http://red.ht/data-grid
>
> _______________________________________________
> 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/20120927/d4007e1b/attachment.html
More information about the infinispan-dev
mailing list