[jbossts-issues] [JBoss JIRA] (JBTM-3270) Rollback of inbound REST-AT transaction causes warning message being printed under server.log

Ondrej Chaloupka (Jira) issues at jboss.org
Fri Mar 27 08:23:54 EDT 2020


Ondrej Chaloupka created JBTM-3270:
--------------------------------------

             Summary: 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


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/classes/com/arjuna/ats/internal/arjuna/objectstore/ShadowingStore.java#L543

This should be probably handled similarly to the XTS bridge
https://github.com/jbosstm/narayana/blob/5.10.4.Final/XTS/recovery/src/org/jboss/jbossts/xts/recovery/participant/at/XTSATRecoveryManagerImple.java#L114
where {{uidMap}} is used to not issue removal of non-persisted items.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jbossts-issues mailing list