[infinispan-issues] [JBoss JIRA] (ISPN-2721) Issue with conditional operations and verisioning
Mircea Markus (JIRA)
jira-events at lists.jboss.org
Wed Jan 16 08:55:21 EST 2013
Mircea Markus created ISPN-2721:
-----------------------------------
Summary: Issue with conditional operations and verisioning
Key: ISPN-2721
URL: https://issues.jboss.org/browse/ISPN-2721
Project: Infinispan
Issue Type: Bug
Reporter: Mircea Markus
Assignee: Galder Zamarreño
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
More information about the infinispan-issues
mailing list