<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Sanne, does this fix the test suite for you? &nbsp;For whatever reason, this issue appears on your machine more often than anyone else's … :)<div><br><div><div>On 3 Oct 2012, at 12:56, Dan Berindei &lt;<a href="mailto:dan.berindei@gmail.com">dan.berindei@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Thanks for the workaround, Bela! <br>I've included it in <a href="https://github.com/infinispan/infinispan/pull/1358">https://github.com/infinispan/infinispan/pull/1358</a>.<br><br><br><div class="gmail_quote">On Wed, Oct 3, 2012 at 9:32 AM, Bela Ban <span dir="ltr">&lt;<a href="mailto:bban@redhat.com" target="_blank">bban@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br>
<br>
On 10/2/12 6:02 PM, Dan Berindei wrote:<br>
<br>
&gt;&gt; The members should be updated in viewAccepted(). When you connect a<br>
&gt;&gt; channel, then viewAccepted() will be called *before* JChannel.connect()<br>
&gt;&gt; returns, so the main thread won't have a chance of accessing members<br>
&gt;&gt; before that.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt; Ok, if viewAccepted() is guaranteed to be called before connect() returns<br>
&gt; then you're right, the latch is superfluous. We only need to call<br>
&gt; viewAccepted() ourselves if the channel was injected (which we already do).<br>
&gt;<br>
&gt; In this particular case, however, we don't get a viewAccepted() call or an<br>
&gt; exception from connect(), so I'm not sure it would have been better (easier<br>
&gt; to debug) without the latch.<br>
<br>
<br>
</div>This is due to <a href="https://issues.jboss.org/browse/JGRP-1522" target="_blank">https://issues.jboss.org/browse/JGRP-1522</a>, which was<br>
introduced in 3.2.0; when this is fixed, you will get a viewAccepted().<br>
The workaround is to set NAKACK{2}.become_server_queue_size=0.<br>
<div><br>
--<br>
Bela Ban, JGroups lead (<a href="http://www.jgroups.org/" target="_blank">http://www.jgroups.org</a>)<br>
_______________________________________________<br>
infinispan-dev mailing list<br>
<a href="mailto:infinispan-dev@lists.jboss.org" target="_blank">infinispan-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
</div></blockquote></div><br>
_______________________________________________<br>infinispan-dev mailing list<br><a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/infinispan-dev</blockquote></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: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><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: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><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-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><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><a href="http://twitter.com/maniksurtani">twitter.com/maniksurtani</a></div><div><br></div><div><div>Platform Architect, JBoss Data Grid</div><div><a href="http://red.ht/data-grid">http://red.ht/data-grid</a></div></div></div></span></div></span></div></span>
</div>
<br></div></body></html>