]
Michael Musgrove updated JBTM-2242:
-----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
Misbehaving XAResources may delay deployments
---------------------------------------------
Key: JBTM-2242
URL:
https://issues.jboss.org/browse/JBTM-2242
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public(Everyone can see)
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).