[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
[ https://issues.jboss.org/browse/ISPN-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mircea Markus updated ISPN-2721:
--------------------------------
Attachment: SimpleConditionalOperationsWriteSkewTest.java
> 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