[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: XA resource and setting the timeout

timfox do-not-reply at jboss.com
Wed Nov 5 06:11:29 EST 2008


"jhalliday" wrote : > I'd also test that time outs work after server is restarted and prepared txs are reloaded.
  | 
  | Except of course that it should time out only new, unprepared tx created after the restart, not the prepared ones. Which come to think of it is true even in the non-restart case - you need to test that a prepared tx will not be timed out, or at least be concious of the issues that arise if it is.
  | 

You lost me there. I thought the whole point of time outs was to time out prepared transaction branches, i.e. heuristically roll them back.

You're saying we should only timeout unprepared txs? If so, why?

anonymous wrote : 
  | BTW, do you include inflight but unprepared tx in the list returned by a recover call on the XAResource?

No, we just include prepared txs

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186969#4186969

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186969



More information about the jboss-dev-forums mailing list