Re: [infinispan-dev] ISPN-3557: interactions between a clear() operation and a Transaction

2013-10-16 Thread Sanne Grinovero
On 16 October 2013 15:15, Galder Zamarreño wrote: > > On Oct 16, 2013, at 3:11 PM, Sanne Grinovero wrote: > >> On 16 October 2013 12:21, Galder Zamarreño wrote: >>> >>> Guys, there's some context to this topic that Sanne has left out. >>> >>> This discussion origins comes from Scott Marlow who's

Re: [infinispan-dev] ISPN-3557: interactions between a clear() operation and a Transaction

2013-10-16 Thread Galder Zamarreño
On Oct 16, 2013, at 3:11 PM, Sanne Grinovero wrote: > On 16 October 2013 12:21, Galder Zamarreño wrote: >> >> Guys, there's some context to this topic that Sanne has left out. >> >> This discussion origins comes from Scott Marlow who's found a bug in a >> Hibernate 2LC test. The test itself

Re: [infinispan-dev] ISPN-3557: interactions between a clear() operation and a Transaction

2013-10-16 Thread Sanne Grinovero
On 16 October 2013 12:21, Galder Zamarreño wrote: > > Guys, there's some context to this topic that Sanne has left out. > > This discussion origins comes from Scott Marlow who's found a bug in a > Hibernate 2LC test. The test itself can be found in [1]. > > Basically, the test loads a couple of e

Re: [infinispan-dev] ISPN-3557: interactions between a clear() operation and a Transaction

2013-10-16 Thread Dan Berindei
On Wed, Oct 16, 2013 at 2:33 PM, Galder Zamarreño wrote: > > On Oct 16, 2013, at 1:21 PM, Galder Zamarreño wrote: > > > Guys, there's some context to this topic that Sanne has left out. > > > > This discussion origins comes from Scott Marlow who's found a bug in a > Hibernate 2LC test. The test

Re: [infinispan-dev] ISPN-3557: interactions between a clear() operation and a Transaction

2013-10-16 Thread Galder Zamarreño
On Oct 16, 2013, at 1:21 PM, Galder Zamarreño wrote: > Guys, there's some context to this topic that Sanne has left out. > > This discussion origins comes from Scott Marlow who's found a bug in a > Hibernate 2LC test. The test itself can be found in [1]. > > Basically, the test loads a couple

Re: [infinispan-dev] ISPN-3557: interactions between a clear() operation and a Transaction

2013-10-16 Thread Galder Zamarreño
Guys, there's some context to this topic that Sanne has left out. This discussion origins comes from Scott Marlow who's found a bug in a Hibernate 2LC test. The test itself can be found in [1]. Basically, the test loads a couple of entities into the 2LC, and then calls evictAll in the cache tha

Re: [infinispan-dev] ISPN-3557: interactions between a clear() operation and a Transaction

2013-10-09 Thread Dan Berindei
On Thu, Oct 3, 2013 at 1:57 PM, Sanne Grinovero wrote: > On 3 October 2013 10:29, Dan Berindei wrote: > > > > On Wed, Oct 2, 2013 at 12:48 PM, Pedro Ruivo > wrote: > >> > >> > >> > >> On 10/02/2013 12:03 AM, Sanne Grinovero wrote: > >> > I'd love to brainstorm about the clear() operation and wha

Re: [infinispan-dev] ISPN-3557: interactions between a clear() operation and a Transaction

2013-10-03 Thread Sanne Grinovero
On 3 October 2013 10:29, Dan Berindei wrote: > > On Wed, Oct 2, 2013 at 12:48 PM, Pedro Ruivo wrote: >> >> >> >> On 10/02/2013 12:03 AM, Sanne Grinovero wrote: >> > I'd love to brainstorm about the clear() operation and what it means >> > on Infinispan. >> > >> > I'm not sure to what extent, but

Re: [infinispan-dev] ISPN-3557: interactions between a clear() operation and a Transaction

2013-10-03 Thread Dan Berindei
On Wed, Oct 2, 2013 at 12:48 PM, Pedro Ruivo wrote: > > > On 10/02/2013 12:03 AM, Sanne Grinovero wrote: > > I'd love to brainstorm about the clear() operation and what it means > > on Infinispan. > > > > I'm not sure to what extent, but it seems that clear() is designed to > > work in a TX, or e

Re: [infinispan-dev] ISPN-3557: interactions between a clear() operation and a Transaction

2013-10-02 Thread Pedro Ruivo
On 10/02/2013 12:03 AM, Sanne Grinovero wrote: > I'd love to brainstorm about the clear() operation and what it means > on Infinispan. > > I'm not sure to what extent, but it seems that clear() is designed to > work in a TX, or even create an implicit transaction if needed, but > I'm not understa

Re: [infinispan-dev] ISPN-3557: interactions between a clear() operation and a Transaction

2013-10-01 Thread William Burns
Looking at ISPN-3557, I think that is resolved by ISPN-3560. It was just a bug in the commands not using the context values properly. I will look closer tomorrow, but I am pretty sure it is resolved (can just add tests for PR). I am guessing you are talking about ISPN-3558. Either way, I agree

[infinispan-dev] ISPN-3557: interactions between a clear() operation and a Transaction

2013-10-01 Thread Sanne Grinovero
I'd love to brainstorm about the clear() operation and what it means on Infinispan. I'm not sure to what extent, but it seems that clear() is designed to work in a TX, or even create an implicit transaction if needed, but I'm not understanding how that can work. Obviously a clear() operation isn'