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

Issue with conditional operations and verisioning

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 5.2.0.Final
    • None
    • None
    • None

      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.

              rh-ee-galder Galder ZamarreƱo
              mircea.markus Mircea Markus (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: