Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1340

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Critical
    • None
    • 5.0.0.FINAL
    • Transactions
    • None
    • Hide

      run the attached unit test

      Show
      run the attached unit test
    • High

    Description

      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: "v".equals(cache.get("k"))

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

      Attachments

        Activity

          People

            manik_jira Manik Surtani (Inactive)
            mkoenig_jira Marcel König (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: