<div dir="ltr">Yeah, I got a bit confused because you didn&#39;t say anything about nodes crashing or how the question actually related to Infinispan. So I assumed it had something to do with <a href="https://issues.jboss.org/browse/ISPN-3063">https://issues.jboss.org/browse/ISPN-3063</a> :)<br>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 16, 2013 at 6:50 PM, Mircea Markus <span dir="ltr">&lt;<a href="mailto:mmarkus@redhat.com" target="_blank">mmarkus@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">I think we&#39;re discussing about two different things here.<br>
<br>
My question was a general one: what if an XAResouce ack the commit to the TransactionManager and then the Recovery Process (TM-side process independent of Infinispan) determines that the given transaction is in doubt. As per Jonathan&#39;s email the TM doesn&#39;t handle this well.<br>


<br>
In our case with async commit the scenario above is possible when the node crashes after ack the commit to the TM and before broadcasting the CommitCommand. So we simply shouldn&#39;t support async commit when the users want recovery.<br>


<br>
HTH<br>
<div class="im HOEnZb"><br>
On 16 May 2013, at 10:32, Dan Berindei &lt;<a href="mailto:dan.berindei@gmail.com">dan.berindei@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Mircea, I think I&#39;m missing something here. Why would the originator send a TxCompletionNotificationCommand at all if the commit command was asynchronous?<br>
&gt;<br>
&gt; I don&#39;t think recovery should require the originator to send a TxCompletionNotificationCommand.<br>
&gt; Our commit commands can&#39;t fail anyway, so the only way for a transaction to become in-doubt would be if the cache crashed before sending the command. (Or maybe if another resource&#39;s commit phase failed.)<br>


<br>
<br>
</div><div class="HOEnZb"><div class="h5">Cheers,<br>
--<br>
Mircea Markus<br>
Infinispan lead (<a href="http://www.infinispan.org" target="_blank">www.infinispan.org</a>)<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
infinispan-dev mailing list<br>
<a href="mailto:infinispan-dev@lists.jboss.org">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></div></blockquote></div><br></div>