Re: [infinispan-dev] https://issues.jboss.org/browse/ISPN-977

2011-05-12 Thread Dan Berindei
://issues.jboss.org/browse/ISPN-977 On Wed, May 11, 2011 at 5:51 PM, Mircea Markus mircea.mar...@jboss.com wrote: On 11 May 2011, at 13:57, Dan Berindei wrote: With the new push-based rebalancing code, we install the new CH before doing any rebalancing work, so the inconsistency window should be much

[infinispan-dev] https://issues.jboss.org/browse/ISPN-977

2011-05-11 Thread Mircea Markus
Hi, The basic problem behind this is that I need to be notified when a new consistent hash is installed. ATM there isn't any support (of which I know) for a @ConsistenHashChangeListener. I'm thinking to add such notifications either: a) internally: Observer pattern on DistributionManager

Re: [infinispan-dev] https://issues.jboss.org/browse/ISPN-977

2011-05-11 Thread Mircea Markus
On 11 May 2011, at 13:29, Sanne Grinovero wrote: First thing I thought when reading your email was OMG do we support on-the-fly hash implementation changes? crazy! That's obviously not the case, but if you name it as @ConsistenHashChangeListene that's what I would think. good point :-)

Re: [infinispan-dev] https://issues.jboss.org/browse/ISPN-977

2011-05-11 Thread Sanne Grinovero
2011/5/11 Mircea Markus mircea.mar...@jboss.com: On 11 May 2011, at 13:29, Sanne Grinovero wrote: First thing I thought when reading your email was OMG do we support on-the-fly hash implementation changes? crazy! That's obviously not the case, but if you name it as

Re: [infinispan-dev] https://issues.jboss.org/browse/ISPN-977

2011-05-11 Thread Mircea Markus
On 11 May 2011, at 15:53, Sanne Grinovero wrote: 2011/5/11 Mircea Markus mircea.mar...@jboss.com: On 11 May 2011, at 13:29, Sanne Grinovero wrote: First thing I thought when reading your email was OMG do we support on-the-fly hash implementation changes? crazy! That's obviously not the

Re: [infinispan-dev] https://issues.jboss.org/browse/ISPN-977

2011-05-11 Thread Dan Berindei
On Wed, May 11, 2011 at 5:51 PM, Mircea Markus mircea.mar...@jboss.com wrote: On 11 May 2011, at 13:57, Dan Berindei wrote: With the new push-based rebalancing code, we install the new CH before doing any rebalancing work, so the inconsistency window should be much smaller. In theory we

Re: [infinispan-dev] https://issues.jboss.org/browse/ISPN-977

2011-05-11 Thread Erik Salter
To: infinispan -Dev List Subject: Re: [infinispan-dev] https://issues.jboss.org/browse/ISPN-977 On Wed, May 11, 2011 at 5:51 PM, Mircea Markus mircea.mar...@jboss.com wrote: On 11 May 2011, at 13:57, Dan Berindei wrote: With the new push-based rebalancing code, we install the new CH before doing any