<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 26 Nov 2010, at 15:30, Vladimir Blagojevic wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div bgcolor="#ffffff" text="#000000">
On 10-11-26 12:20 PM, Manik Surtani wrote:
<blockquote cite="mid:F4D350D9-87D4-4F31-BA0F-68202FA4DEF6@jboss.org" type="cite"><br>
<div>
<div>On 26 Nov 2010, at 13:59, Vladimir Blagojevic wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica;
font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
font-size: medium;">On 10-11-26 10:50 AM, Bela Ban wrote:<br>
<blockquote type="cite">Quick question: when I have a view
{A,B,C,D,E,F} at time T and then<br>
</blockquote>
<blockquote type="cite">receive 2 subsequent views within 3
seconds:<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">- {A,B,C}<br>
</blockquote>
<blockquote type="cite">- {A,B,C,E,F}<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">will there be 2 rehashes /
rebalancings, or 1 ? Is there a delay that<br>
</blockquote>
<blockquote type="cite">can be configured for rebalancing on
view changes ?<br>
</blockquote>
<br>
2 rehashes.</span></blockquote>
</div>
<div><br>
</div>
Wouldn't the second rehash request cause the first one to abort?
<div><br>
</div>
<div>Any ongoing LeaveTask is cancelled... </div>
<div><br>
</div>
<div><a moz-do-not-send="true" href="https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/distribution/DistributionManagerImpl.java#L265">https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/distribution/DistributionManagerImpl.java#L265</a></div>
<div><br>
</div>
<div><br>
</div>
</blockquote>
It is. But I would not bet my life that this cancellation will leave
everything in pristine state across the cluster....<br>
</div>
</blockquote><br></div><div>Right, but the rehash is cancelled and another rehash with the new view is started again. And this should supercede the old, part-complete rehash. Right?</div><div><br></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--</div><div>Manik Surtani</div><div><a href="mailto:manik@jboss.org">manik@jboss.org</a></div><div>Lead, Infinispan</div><div>Lead, JBoss Cache</div><div><a href="http://www.infinispan.org">http://www.infinispan.org</a></div><div><a href="http://www.jbosscache.org">http://www.jbosscache.org</a></div><div><br></div></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></body></html>