<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 1 Feb 2012, at 12:46, Sanne Grinovero 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-align: -webkit-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: 0px; font-size: medium; "><div><blockquote type="cite"><br class="Apple-interchange-newline">The getCache() timeout should not be increased at all. Instead I would<br></blockquote><blockquote type="cite">propose that getCache() returns a functional cache immediately, even<br></blockquote><blockquote type="cite">if the cache didn't receive any data, and it works solely as an L1<br></blockquote><blockquote type="cite">cache until the administrator allows it to join. I'd even make it<br></blockquote><blockquote type="cite">possible to designate a cache as an L1-only cache, so it's never an<br></blockquote><blockquote type="cite">owner for any key.<br></blockquote><br>I agree that would be very nice, but makes it much more complex to<br>implement in 5.2 as well: functional L1 means that the other nodes<br>must accept this node as part of the grid, including for L1<br>invalidation purposes.<br>So my proposal on blocking until ready is to make a first step, and I<br>think it would still be very useful for people wanting to boot some<br>~100 nodes. Blocking the application is not a big deal, as you're<br>delaying boot of an application which was likely not even powered on<br>before.<br>When adding several new nodes, I just want them to "add all at once",<br>so preventing intermediate rehashing: until all have joined you should<br>block rehash - that's a manual (or more likely automated externally)<br>step and will not be engaged for long, nor it would replace normal<br>behaviour when disabled.</div></span></blockquote><br></div><div>+1.</div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; 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: 0px; font-size: medium; "><div><div>--</div><div>Manik Surtani</div><div><a href="mailto:manik@jboss.org">manik@jboss.org</a></div><div><a href="http://twitter.com/maniksurtani">twitter.com/maniksurtani</a></div><div><br></div><div>Lead, Infinispan</div><div><a href="http://www.infinispan.org">http://www.infinispan.org</a></div><div><br></div></div></span><br class="Apple-interchange-newline">
</div>
<br></body></html>