ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doroszlai, Attila (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-18956) Ambari attempts to commit transactions marked as rollback-only
Date Tue, 22 Nov 2016 08:05:59 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-18956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Doroszlai, Attila updated AMBARI-18956:
---------------------------------------
    Attachment: AMBARI-18956.patch

> Ambari attempts to commit transactions marked as rollback-only
> --------------------------------------------------------------
>
>                 Key: AMBARI-18956
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18956
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Doroszlai, Attila
>            Assignee: Doroszlai, Attila
>            Priority: Minor
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-18956.patch
>
>
> {{EntityTransaction}} may be marked [rollback-only|http://docs.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html#setRollbackOnly()]
due to exception.  If {{@Transactional}} is not marked to {{rollbackOn()}} such exception,
Ambari still attempts to commit the transaction.  The end result for the transaction is the
same (rollback), but instead of the original exception a {{RollbackException}} is reported,
so information is lost.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message