Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2300 Versioned Transactional Cache issues
  3. ISPN-2721

Issue with conditional operations and verisioning

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 5.2.0.CR2
    • None
    • None

    Description

      The problem:

      • repeatable read cache with write skew check enabled
      • a conditional operation (e.g. replace) executes and is not successful (e.g. because the value doesn't exist)
      • during the successful operation the entry is written to the container with a null version. (i.e. the previous version is erased). That is well bad!

      Suggested solution:

      • for such entries that were not modified (isChanged==false) the value should not be re-written to the container OR

      Attached is a unit test capturing the problem.

      Attachments

        Activity

          People

            gzamarre Galder ZamarreƱo
            mircea.markus Mircea Markus (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: