Bug 1143947

Summary: Removal of RecoveryHelpers fails silently if no scan is in progress
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Tom Ross <tom.ross>
Component: Transaction ManagerAssignee: Michael <mmusgrov>
Status: CLOSED CURRENTRELEASE QA Contact: Hayk Hovsepyan <hhovsepy>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2.4CC: hhovsepy, istudens, kkhan, mmusgrov, ochaloup, tom.jenkinson
Target Milestone: DR12   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
In JBoss EAP 6 the Transaction Manager recovery operateraton queries resources for their view of in-doubt transaction branches. A "RecoveryHelper" which JCA registers helps to achieve this. When the resource is removed from the system the helper is de-registered. Previous versions of the product contained a race condition in the code whereby if the removal happened during a "recovery scan" then the helper was not removed. This resulted in the possibility that transaction recovery would continue using resources even though they a deployment had removed it from the server. The race condition has been removed in this release of JBoss EAP 6.
Story Points: ---
Clone Of:
: 1145513 (view as bug list) Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1143956    
Bug Blocks:    

Description Tom Ross 2014-09-18 10:04:41 UTC
There is some code in XARecoveryModule#removeXAResourceRecoveryHelper that defers removal of recovery helpers if a scan is in progress but skips the removal otherwise.

Comment 2 tom.jenkinson 2014-09-22 10:05:45 UTC
fixed in community version, await release

Comment 4 Ivo Studensky 2014-09-23 09:38:49 UTC
*** Bug 1145513 has been marked as a duplicate of this bug. ***

Comment 5 JBoss JIRA Server 2014-12-02 15:51:53 UTC
Tom Jenkinson <tom.jenkinson> updated the status of jira JBTM-2241 to Closed

Comment 6 tom.jenkinson 2014-12-05 12:41:31 UTC
Went into 4.17.23

Comment 7 Hayk Hovsepyan 2014-12-08 15:02:09 UTC
Verified on revision EAP 6.4.0.DR12

Now it always proceeds revcovery helper removal requests in XARecoveryModule#removeXAResourceRecoveryHelper.