Re: [infinispan-dev] AtomicHashMap concurrent modifications in pessimistic mode

2013-05-24 Thread Mircea Markus
Sent from my iPhone On 20 May 2013, at 12:58, Dan Berindei wrote: > > > > On Mon, May 20, 2013 at 1:57 PM, Manik Surtani wrote: >> >> On 16 May 2013, at 15:04, Dan Berindei wrote: >> >>> Hi guys >>> >>> I'm working on an intermittent failure in NodeMoveAPIPessimisticTest and I >>> thi

Re: [infinispan-dev] AtomicHashMap concurrent modifications in pessimistic mode

2013-05-20 Thread Dan Berindei
On Mon, May 20, 2013 at 1:57 PM, Manik Surtani wrote: > > On 16 May 2013, at 15:04, Dan Berindei wrote: > > Hi guys > > I'm working on an intermittent failure in NodeMoveAPIPessimisticTest and I > think I've come across what I think is underspecified behaviour in > AtomicHashMap. > > Say we have

Re: [infinispan-dev] AtomicHashMap concurrent modifications in pessimistic mode

2013-05-20 Thread Manik Surtani
On 16 May 2013, at 15:04, Dan Berindei wrote: > Hi guys > > I'm working on an intermittent failure in NodeMoveAPIPessimisticTest and I > think I've come across what I think is underspecified behaviour in > AtomicHashMap. > > Say we have two transactions, tx1 and tx2, and they both work with

Re: [infinispan-dev] AtomicHashMap concurrent modifications in pessimistic mode

2013-05-17 Thread Mircea Markus
On 17 May 2013, at 14:06, Dan Berindei wrote: > > > > On Fri, May 17, 2013 at 1:59 PM, Mircea Markus wrote: > > On 17 May 2013, at 07:35, Dan Berindei wrote: > > > > > > > > > On Thu, May 16, 2013 at 8:27 PM, Mircea Markus wrote: > > > > On 16 May 2013, at 15:04, Dan Berindei wrote: > >

Re: [infinispan-dev] AtomicHashMap concurrent modifications in pessimistic mode

2013-05-17 Thread Dan Berindei
On Fri, May 17, 2013 at 1:59 PM, Mircea Markus wrote: > > On 17 May 2013, at 07:35, Dan Berindei wrote: > > > > > > > > > On Thu, May 16, 2013 at 8:27 PM, Mircea Markus > wrote: > > > > On 16 May 2013, at 15:04, Dan Berindei wrote: > > > > > Hi guys > > > > > > I'm working on an intermittent f

Re: [infinispan-dev] AtomicHashMap concurrent modifications in pessimistic mode

2013-05-17 Thread Mircea Markus
On 17 May 2013, at 07:35, Dan Berindei wrote: > > > > On Thu, May 16, 2013 at 8:27 PM, Mircea Markus wrote: > > On 16 May 2013, at 15:04, Dan Berindei wrote: > > > Hi guys > > > > I'm working on an intermittent failure in NodeMoveAPIPessimisticTest and I > > think I've come across what I

Re: [infinispan-dev] AtomicHashMap concurrent modifications in pessimistic mode

2013-05-16 Thread Dan Berindei
On Thu, May 16, 2013 at 8:27 PM, Mircea Markus wrote: > > On 16 May 2013, at 15:04, Dan Berindei wrote: > > > Hi guys > > > > I'm working on an intermittent failure in NodeMoveAPIPessimisticTest and > I think I've come across what I think is underspecified behaviour in > AtomicHashMap. > > > > S

Re: [infinispan-dev] AtomicHashMap concurrent modifications in pessimistic mode

2013-05-16 Thread Mircea Markus
On 16 May 2013, at 15:04, Dan Berindei wrote: > Hi guys > > I'm working on an intermittent failure in NodeMoveAPIPessimisticTest and I > think I've come across what I think is underspecified behaviour in > AtomicHashMap. > > Say we have two transactions, tx1 and tx2, and they both work with

[infinispan-dev] AtomicHashMap concurrent modifications in pessimistic mode

2013-05-16 Thread Dan Berindei
Hi guys I'm working on an intermittent failure in NodeMoveAPIPessimisticTest and I think I've come across what I think is underspecified behaviour in AtomicHashMap. Say we have two transactions, tx1 and tx2, and they both work with the same atomic map in a pessimistic cache: 1. tx1: am1 = Atomic