]
RH Bugzilla Integration commented on JBTM-2242:
-----------------------------------------------
Paul Gier <pgier(a)redhat.com> changed the Status of [bug
Misbehaving XAResources may delay deployments
---------------------------------------------
Key: JBTM-2242
URL:
https://issues.jboss.org/browse/JBTM-2242
Project: JBoss Transaction Manager
Issue Type: Bug
Components: Application Server Integration
Affects Versions: 4.17.22, 5.0.2
Reporter: Michael Musgrove
Assignee: Michael Musgrove
Fix For: 4.17.23, 5.0.4
Recovery scans can delay subsystem deployments because of contention on the lock
XARecoveryModule#_xaResourceRecoveryHelpers:
XARecoveryModule#resourceInitiatedRecoveryForRecoveryHelpers takes the lock and then
makes calls to the resource which can potentially hang transiently. Meanwhile, deployments
which register recovery helpers are delayed whilst waiting for the lock to be released (in
XARecoveryModule#addXAResourceRecoveryHelper).