Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-6214

Change CMTTxInterceptor.endTransaction() handling of Status.ROLLING_BACK

    XMLWordPrintable

    Details

      Description

      See recent comment https://developer.jboss.org/message/950898#950898

      Status.STATUS_COMMITTING:
      Status.STATUS_COMMITTED:
      Status.STATUS_PREPARED:
      Status.STATUS_PREPARING:

      • Someone has called commit in parallel and the transaction is trying to commit so try to commit too: call tm.commit

      I think that TimerCMTTxInterceptor/LifecycleCMTTxInterceptor are using CMTTxInterceptor.endTransaction(), so they shouldn't need changes.

      Status.STATUS_ROLLING_BACK can happen if the reaper has started to rollback the transaction

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tomjenkinson Thomas Jenkinson
                  Reporter:
                  smarlow Scott Marlow
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: