<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 14 Dec 2011, at 13:44, Dan Berindei wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi guys<br><br>For a little background, see the discussion at <a href="https://issues.jboss.org/browse/ISPN-1586" target="_blank">https://issues.jboss.org/browse/ISPN-1586</a><br><br>How do you feel about discarding the contents of the cache store on all cache (virtual) nodes except the first to start?<br></blockquote>I think that's a that might work for replicated caches, but not for distributed. Imagine this scenario: a DIST cluster is turned down for maintenance, now when it is started again the preload data, except the fist node to start, is lost.</div><div><blockquote type="cite">
<br>Configuring purgeOnStartup="true" is not ok in data grid scenarios, because you'd lose all the data on restart. But loading entries from the cache store of a node that started later is almost guaranteed to lead to stale data. In some use cases that stale data might be acceptable, but in most cases it probably isn't. So perhaps it makes sense to make this configurable?<br>
<br>Cheers<br>Dan<br></blockquote></div><br></body></html>