[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: XA Recovery on Journal...
timfox
do-not-reply at jboss.com
Mon Sep 8 09:45:15 EDT 2008
"clebert.suconic at jboss.com" wrote : "timfox" wrote :
| | This is related to https://jira.jboss.org/jira/browse/JBMESSAGING-1282
|
| What I thought that should be happening, is TransactionImpl aways storing the prepare on disk. That way an empty transaction would be recovered instead of "killing" the whole branch on the TM.
|
|
My understanding, is that if the transaction branch is empty, then prepare should return return XAResource.XA_RDONLY
(See ServerSessionImpl.XAPrepare)
And then the transaction manager knows not to ever call commit or rollback for that branch.
I however recommend clarify these finer points of XA with a member of the transactions team.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175039#4175039
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175039
More information about the jboss-dev-forums
mailing list