Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-7088

Interceptors should not access TransactionManager

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      With ISPN-5469, we are no longer executing all the interceptor on the user thread, even on the originator. That means trying to read the thread-local transaction with TransactionManager.getTransaction() sometimes won't work, so interceptors should avoid it.

      E.g. InvocationContextInterceptor.markTxForRollbackAndRethrow() wants to rollback the current transaction but doesn't find any transaction bound to the current thread, causing failures in PessimisticTxPartitionAndMergeDuringRuntimeTest.

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: