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

TransactionXaAdapter.commit with onePhase=true doesn't rollback when tx is marked rollbackOnly

XMLWordPrintable

      Scenario: use eager locking with lockSingleNode=true. Start a transaction and kill a node where a lock is acquired. Then commit the transaction using JBossTM. As there's only one transaction enlisted, JBossTM optimizes the 2PC and only invokes TransactionXAAdaptr.commit with onePhase flag set to true. Right now this call results in an exception that leaves the cluster with locks being acquired. Instead of this, infinispan should rollback the transaction and throw an exception(XA_HEURRB?) that would be propagated to the user as well.

              mircea.markus Mircea Markus (Inactive)
              mircea.markus Mircea Markus (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: