[infinispan-dev] WriteSkewTest help

Mircea Markus mmarkus at redhat.com
Wed Jul 10 06:36:45 EDT 2013


On 10 Jul 2013, at 13:34, Pedro Ruivo <pedro at infinispan.org> wrote:

> The test is definitely wrong because the locks are only acquired during 
> the prepare that gives an window of opportunity to the write skew happens.
> 
> On other hand, I'm pretty sure that we have a bug in local mode write 
> skew + optimistic caches (it is performing the write skew in the put and 
> not in the prepare).
> 
> So, are you suggesting to remove WriteSkewTest and extend/adapt 
> ConditionalOperationsConcurrentWriteSkewTest to local mode Pessimist + 
> optimistic write skew test?
> 
> if yes, +1

+1 :-)

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






More information about the infinispan-dev mailing list