[infinispan-dev] Rehashing on view changes

Manik Surtani manik at jboss.org
Fri Nov 26 10:20:15 EST 2010


On 26 Nov 2010, at 13:59, Vladimir Blagojevic wrote:

> On 10-11-26 10:50 AM, Bela Ban wrote:
>> Quick question: when I have a view {A,B,C,D,E,F} at time T and then
>> receive 2 subsequent views within 3 seconds:
>> 
>> - {A,B,C}
>> - {A,B,C,E,F}
>> 
>> will there be 2 rehashes / rebalancings, or 1 ? Is there a delay that
>> can be configured for rebalancing on view changes ?
> 
> 2 rehashes.


Wouldn't the second rehash request cause the first one to abort?

Any ongoing LeaveTask is cancelled... 

https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/distribution/DistributionManagerImpl.java#L265


--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20101126/0a6d376e/attachment.html 


More information about the infinispan-dev mailing list