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

Change CMTTxInterceptor.endTransaction() handling of Status.ROLLING_BACK

XMLWordPrintable

      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

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

                Created:
                Updated:
                Resolved: