[infinispan-dev] WriteSkewTest help

Pedro Ruivo pedro at infinispan.org
Wed Jul 10 06:34:12 EDT 2013


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

Pedro

On 07/10/2013 11:20 AM, Mircea Markus wrote:
> It doesn't seem to test anything at all. ConditionalOperationsConcurrentWriteSkewTest runs concurrent update tests much nicer - extend it to a local cache test as well?
>
> On 10 Jul 2013, at 13:07, Pedro Ruivo <pedro at infinispan.org> wrote:
>
>> I need your help to find what is the objective of this
>> WriteSkewTest.testWriteSkewWithOnlyPut.
>>
>> Is it to test the write skew check in Local mode caches?
>
> Cheers,
>


More information about the infinispan-dev mailing list