[
https://issues.redhat.com/browse/JBTM-3351?page=com.atlassian.jira.plugin...
]
Ondrej Chaloupka updated JBTM-3351:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 5.next
Resolution: Done
clearHeuristic management operation should clear participant's
heuristic flag as well as it clears the transaction heuristic flag
---------------------------------------------------------------------------------------------------------------------------------
Key: JBTM-3351
URL:
https://issues.redhat.com/browse/JBTM-3351
Project: JBoss Transaction Manager
Issue Type: Bug
Components: Configuration, Transaction Core
Affects Versions: 5.10.5.Final
Reporter: Ondrej Chaloupka
Assignee: Ondrej Chaloupka
Priority: Major
Fix For: 5.next
The management operation {{clearHeuristic}} should consider to clear heuristic flag not
only from the transaction ({{BasicAction}}) but from the participant record as well - when
possible, e.g. the XA resource record maintains heuristic flag for participant and thus it
should be cleared on the operation.
The current management operation {{'clearHeuristic'}} is invoked only on the
"covering" transaction - {{BasicAction}} is modified[1] -> [2] -> [3]. But
the {{XAResourceRecord}} heuristics state[4] is unchanged. Then during recovery commit
retry the {{XAResource.commit}} is denied[5].
[1]
https://github.com/jbosstm/narayana/blob/5.10.5.Final/ArjunaCore/arjuna/c...
[2]
https://github.com/jbosstm/narayana/blob/5.10.5.Final/ArjunaCore/arjuna/c...
[3]
https://github.com/jbosstm/narayana/blob/5.10.5.Final/ArjunaCore/arjuna/c...
[4]
https://github.com/jbosstm/narayana/blob/5.10.5.Final/ArjunaJTA/jta/class...
[5]
https://github.com/jbosstm/narayana/blob/5.10.5.Final/ArjunaJTA/jta/class...
--
This message was sent by Atlassian Jira
(v7.13.8#713008)