Retain a log if a forget call on a resource fails
-------------------------------------------------
Key: JBTM-2812
URL:
https://issues.jboss.org/browse/JBTM-2812
Project: JBoss Transaction Manager
Issue Type: Bug
Components: JTA
Affects Versions: 5.4.0.Final
Reporter: Michael Musgrove
Assignee: Michael Musgrove
Fix For: 5.4.1.Final
When we clear a heuristic from XAResourceRecord we call forget on the resource and then
delete the record even if the forget operation fails. The preferred behaviour is to retain
the record if the forget fails so that it can be reported via our tooling and so that we
still have the option of later retrying the forget operation (also via the tooling).