]
Ondrej Chaloupka updated JBTM-3270:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 5.next
Resolution: Done
Rollback of inbound REST-AT transaction causes warning message being
printed under server.log
---------------------------------------------------------------------------------------------
Key: JBTM-3270
URL:
https://issues.redhat.com/browse/JBTM-3270
Project: JBoss Transaction Manager
Issue Type: Bug
Components: REST
Affects Versions: 5.10.3.Final
Reporter: Ondrej Chaloupka
Assignee: Ondrej Chaloupka
Priority: Minor
Fix For: 5.next
When a inbound REST-AT Transaction is rolled-back while it was not yet persisted into
object store then a warning message is shown in the log
{quote}
[com.arjuna.ats.arjuna] (default task-2) ARJUNA012269: UNKNOWN state for object with uid
0:ffff0a00000a:1f1301f3:5e7de5f0:37 , type
/REST-AT/Integration/ParticipantInformationRecoveryRecord
{quote}
The reason for this is that REST-AT {{RecoveryManager}} instance does not track which
participants were really persisted ({{ObjectStore.write_committed}}). Regardless of this
fact the removal is attempted and the underlaying removal found it knows nothing about
such state
https://github.com/jbosstm/narayana/blob/5.10.4.Final/ArjunaCore/arjuna/c...
This should be probably handled similarly to the XTS bridge
https://github.com/jbosstm/narayana/blob/5.10.4.Final/XTS/recovery/src/or...
where {{uidMap}} is used to not issue removal of non-persisted items.