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

      Attachments

        Issue Links

          Activity

            Public project attachment banner

              context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
              current Project key: WFLY

              People

                thjenkin@redhat.com Tom Jenkinson
                smarlow1@redhat.com Scott Marlow
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: