[infinispan-issues] [JBoss JIRA] (ISPN-4262) Rolling back a transaction after commit timeout should release locks in two phases

Dan Berindei (JIRA) issues at jboss.org
Tue May 6 06:41:57 EDT 2014


Dan Berindei created ISPN-4262:
----------------------------------

             Summary: Rolling back a transaction after commit timeout should release locks in two phases
                 Key: ISPN-4262
                 URL: https://issues.jboss.org/browse/ISPN-4262
             Project: Infinispan
          Issue Type: Bug
          Components: Core, Transactions
    Affects Versions: 6.0.2.Final
            Reporter: Dan Berindei
            Assignee: Dan Berindei
             Fix For: 7.0.0.Alpha4


This is related to ISPN-4137.

When a commit command times out, we send a rollback command to release locks. The problem is that the node that timed out might still execute commit command, before the rollback command reaching the backup but after it released the locks on the primary owner.

The solution is to not release any locks during the rollback command's execution, but send an asynchronous TxCompletionNotification afterwards - just like for commit commands.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the infinispan-issues mailing list