]
Manik Surtani updated ISPN-1555:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Locks not released when using the lock API in a read-only
transaction
---------------------------------------------------------------------
Key: ISPN-1555
URL:
https://issues.jboss.org/browse/ISPN-1555
Project: Infinispan
Issue Type: Bug
Components: Transactions
Affects Versions: 5.1.0.BETA5
Reporter: Mircea Markus
Assignee: Mircea Markus
Priority: Critical
Fix For: 5.1.0.CR1
{code}
tm.begin();
cache.getAdvancedCache().lock("k");
tm.commit();
assertNotLocked("k"); //this fails!!!
{code}
this transaction doesn't do any write, and we have an optimization in place to skip
remote calls if we don't do any write.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: