[
https://issues.jboss.org/browse/ISPN-2721?page=com.atlassian.jira.plugin....
]
Mircea Markus updated ISPN-2721:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Issue with conditional operations and verisioning
-------------------------------------------------
Key: ISPN-2721
URL:
https://issues.jboss.org/browse/ISPN-2721
Project: Infinispan
Issue Type: Sub-task
Reporter: Mircea Markus
Assignee: Galder ZamarreƱo
Fix For: 5.2.0.CR2
Attachments: SimpleConditionalOperationsWriteSkewTest.java
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira