[infinispan-dev] Rehashing on view changes
Vladimir Blagojevic
vblagoje at redhat.com
Fri Nov 26 10:30:09 EST 2010
On 10-11-26 12:20 PM, Manik Surtani wrote:
>
> 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
>
>
It is. But I would not bet my life that this cancellation will leave
everything in pristine state across the cluster....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20101126/aa816b9d/attachment.html
More information about the infinispan-dev
mailing list