[infinispan-issues] [JBoss JIRA] (ISPN-1555) locks not being released when transaction doesn't write

Mircea Markus (Created) (JIRA) jira-events at lists.jboss.org
Wed Nov 23 11:19:40 EST 2011


locks not being released when transaction doesn't write
-------------------------------------------------------

                 Key: ISPN-1555
                 URL: https://issues.jboss.org/browse/ISPN-1555
             Project: Infinispan
          Issue Type: Bug
          Components: Transactions
    Affects Versions: 5.1.0.BETA5, 5.1.0.CR1
            Reporter: Mircea Markus
            Assignee: Mircea Markus
            Priority: Critical


tm.begin();
cache.getAdvancedCache().lock("k");
tm.commit(); 

assertNotLocked("k"); //this fails!!!

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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list