<div class="gmail_quote">On Tue, Oct 2, 2012 at 6:06 PM, Sanne Grinovero <span dir="ltr"><<a href="mailto:sanne@infinispan.org" target="_blank">sanne@infinispan.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I just updated my local copy of Infinispan and this is the result in<br>
the Query testsuite:<br>
<br>
Failed tests:<br>
testIndexingWorkDistribution(org.infinispan.query.distributed.MultiNodeDistributedTest):<br>
expected:<5> but was:<4><br>
Tests run: 128, Failures: 1, Errors: 0, Skipped: 0<br>
<br>
OR:<br>
<br>
Failed tests:<br>
testIndexingWorkDistribution(org.infinispan.query.distributed.MultiNodeDistributedTest):<br>
expected:<5> but was:<4><br>
testQueryAfterAddingNewNode(org.infinispan.query.statetransfer.StateTransferQueryDistributedIndexTest):<br>
org.infinispan.CacheException: Unable to invoke method public void<br>
org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete()<br>
throws java.lang.InterruptedException on object of type<br>
StateTransferManagerImpl<br>
Tests run: 128, Failures: 2, Errors: 0, Skipped: 0<br>
<br>
It doesn't fail all the time, but almost every time. It passed the<br>
testsuite once, and it timeouts initial state transfer very often<br>
(attached thread dump)<br>
<br>
Doesn't look like NBST is non blocking after all?<br>
<br></blockquote><div><br>DefaultCacheManager.getCache() is still blocking until the joiner receives some state (i.e. owns at least one segment in the consistent hash).<br><br>The pre-existing nodes are not blocked during this state transfer, and in fact we didn't block the joiner either at the beginning but I re-added the wait to fix some tests "the easy way". I created a task in JIRA to re-enable this, although I'm not sure if it should be the default: <a href="https://issues.jboss.org/browse/ISPN-2366">https://issues.jboss.org/browse/ISPN-2366</a><br>
<br>
</div></div>