[infinispan-issues] [JBoss JIRA] Created: (ISPN-1340) ReadCommittedLock - commited Cache.remove is not visible to other transactions

Marcel König (JIRA) jira-events at lists.jboss.org
Wed Aug 17 19:08:18 EDT 2011


ReadCommittedLock - commited Cache.remove is not visible to other transactions
------------------------------------------------------------------------------

                 Key: ISPN-1340
                 URL: https://issues.jboss.org/browse/ISPN-1340
             Project: Infinispan
          Issue Type: Bug
          Components: Locking and Concurrency
    Affects Versions: 5.0.0.FINAL
         Environment: jboss-6.0.0.Final, isolationlevel=READ_COMMITED
            Reporter: Marcel König
            Assignee: Manik Surtani
         Attachments: ReadCommittedLockTest.java

See the attached unit test: i added the testVisibilityOfCommittedDataRemove method to your org.infinispan.api.mvcc.read_committed.ReadCommittedLockTest unit test class.
This test is successful in infinispan-4.2.1 but not in infinispan-5.0.0.

What happens:
1. transaction1(tx1): cache.put("k", "v")
2. tx2: cache.remove("k") 
3. tx2: commit
4. tx1: cache.get("k") = "v"

What should happen:
...
4. tx1: cache.get("k") = null

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list