[JBoss JIRA] Created: (JBTM-802) XTS BA coordinator drops completed as per spec but causes long delay for web service compensation
by Andrew Dinn (JIRA)
XTS BA coordinator drops completed as per spec but causes long delay for web service compensation
-------------------------------------------------------------------------------------------------
Key: JBTM-802
URL: https://jira.jboss.org/browse/JBTM-802
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.6.1.CP08, 4.13.0
Reporter: Andrew Dinn
Assignee: Andrew Dinn
Fix For: 4.14.0, 4.6.1.CP09
The WSBA spec requires a coordinator to drop completed requests from a web service belonging to an unknown transaction. The idea is that the web service eventually gets bored and sends a getstatus message to see if the transacton is still valid at which point the coordinator dispatches an invalid state fault initiating compensation at the web service end. The problem is that timeing out the resending of completed and switching to sending getstatus is a tricky business. Done too early it can cause ping-ponging back and forth from completed to getstatus. Too late and it means it takes a long time before compensation is done.
It is not clear from the spec that completed cannot also legitimately send an invalid state fault when it sees completed from an unknown participant. If so then doing this would significantly speed up recovery. This needs investigating to check that it will not cause interop problems and, if it is permissible, should be implemented.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 10 months
[JBoss JIRA] Created: (JBTM-909) Add an API hook for deferred afterCompletion
by David Lloyd (JIRA)
Add an API hook for deferred afterCompletion
--------------------------------------------
Key: JBTM-909
URL: https://issues.jboss.org/browse/JBTM-909
Project: JBoss Transaction Manager
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: David Lloyd
Assignee: Tom Jenkinson
Fix For: 4.15.x
Provide an API for deferring afterCompletion callback. This comes in two parts:
# A flag to pass to the commit method indicating that afterCompletion should be deferred
# A separate method indicating that afterCompletion callbacks should proceed
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years