Jonathan Halliday [
http://community.jboss.org/people/jhalliday] created the discussion
"Re: Remote Txn Inflow: Synchronizations"
To view the discussion, visit:
http://community.jboss.org/message/629518#629518
--------------------------------------------------------------
when we start recovery processing on the crashed-and-restored node,
whatever mechanism we use to reconstitute the XAResource(s) could also be used to restore
the Synchronizations.
Won't work I'm afraid. The XAResources are disposed of at the end of commit
processing. afterCompletions run after that, hence the name. So, no XAResource to hook in
to at recovery time. Given that the remote comms protocol is one way, you need a top down
discovery mechanism to identify orphaned afterCompletions in a still running subordinate
during recovery of a previously crashed parent, or some timeout like mechanism in the
child. It's basically a simpler analog of the problem that XAResource.recover is
designed to solve for resources.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/629518#629518]
Start a new discussion in JBoss Transactions Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]