<div dir="ltr">Yeah, I got a bit confused because you didn'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"><<a href="mailto:mmarkus@redhat.com" target="_blank">mmarkus@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think we'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's email the TM doesn'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'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 <<a href="mailto:dan.berindei@gmail.com">dan.berindei@gmail.com</a>> wrote:<br>
<br>
> Mircea, I think I'm missing something here. Why would the originator send a TxCompletionNotificationCommand at all if the commit command was asynchronous?<br>
><br>
> I don't think recovery should require the originator to send a TxCompletionNotificationCommand.<br>
> Our commit commands can'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'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>