Re: [infinispan-dev] Why DistTxInterceptor in use with Hot Rod ?

2011-09-16 Thread Galder Zamarreño
On Sep 15, 2011, at 1:31 PM, Dan Berindei wrote: On Thu, Sep 15, 2011 at 12:25 PM, Galder Zamarreño gal...@redhat.com wrote: On Sep 14, 2011, at 11:40 AM, Dan Berindei wrote: Going back to your original question Galder, the exception is most likely thrown because of this sequence of

Re: [infinispan-dev] Why DistTxInterceptor in use with Hot Rod ?

2011-09-15 Thread Galder Zamarreño
On Sep 14, 2011, at 11:40 AM, Dan Berindei wrote: Going back to your original question Galder, the exception is most likely thrown because of this sequence of events: 0. Given a cluster {A, B}, a key k and a node C joining. 1. Put acquires the transaction lock on node A (blocking

Re: [infinispan-dev] Why DistTxInterceptor in use with Hot Rod ?

2011-09-15 Thread Dan Berindei
On Thu, Sep 15, 2011 at 12:25 PM, Galder Zamarreño gal...@redhat.com wrote: On Sep 14, 2011, at 11:40 AM, Dan Berindei wrote: Going back to your original question Galder, the exception is most likely thrown because of this sequence of events: 0. Given a cluster {A, B}, a key k and a node C

Re: [infinispan-dev] Why DistTxInterceptor in use with Hot Rod ?

2011-09-14 Thread Dan Berindei
Going back to your original question Galder, the exception is most likely thrown because of this sequence of events: 0. Given a cluster {A, B}, a key k and a node C joining. 1. Put acquires the transaction lock on node A (blocking rehashing) 2. Put acquires lock for key k on node A 3. Rehashing

[infinispan-dev] Why DistTxInterceptor in use with Hot Rod ?

2011-09-13 Thread Galder Zamarreño
Hi, I'm looking at this failure http://goo.gl/NQw4h and I'm wondering why org.infinispan.distribution.RehashInProgressException: Timed out waiting for the transaction lock is thrown? This is thrown DistTxInterceptor which is added by the InterceptorChainFactory: if

Re: [infinispan-dev] Why DistTxInterceptor in use with Hot Rod ?

2011-09-13 Thread Mircea Markus
On 13 Sep 2011, at 17:22, Galder Zamarreño wrote: Hi, I'm looking at this failure http://goo.gl/NQw4h and I'm wondering why org.infinispan.distribution.RehashInProgressException: Timed out waiting for the transaction lock is thrown? This is thrown DistTxInterceptor which is added by

Re: [infinispan-dev] Why DistTxInterceptor in use with Hot Rod ?

2011-09-13 Thread Galder Zamarreño
On Sep 13, 2011, at 6:38 PM, Mircea Markus wrote: On 13 Sep 2011, at 17:22, Galder Zamarreño wrote: Hi, I'm looking at this failure http://goo.gl/NQw4h and I'm wondering why org.infinispan.distribution.RehashInProgressException: Timed out waiting for the transaction lock is thrown?