]
Galder Zamarreño updated ISPN-4262:
-----------------------------------
Fix Version/s: 7.1.0.Alpha1
(was: 7.0.0.Final)
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
Fix For: 7.1.0.Alpha1
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.