[infinispan-issues] [JBoss JIRA] (ISPN-2435) Cache#replace(key, old, new) method doesn't check old value on non-local invocations

Mircea Markus (JIRA) jira-events at lists.jboss.org
Wed Feb 20 07:02:57 EST 2013


    [ https://issues.jboss.org/browse/ISPN-2435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12755380#comment-12755380 ] 

Mircea Markus commented on ISPN-2435:
-------------------------------------

For the record, the main problem behind this was the following:
For conditional operations (replace, remove, put if absent):
 - node A (owner, tx originator) does a successful replace
 - the actual value changes
 - tx commits. The value is applied on A (the check was performed at operation time) but is not applied on
B (check is performed at commit time).
In such situations (optimistic caches) the remote conditional command should not re-check the old value.

                
> Cache#replace(key, old, new) method doesn't check old value on non-local invocations
> ------------------------------------------------------------------------------------
>
>                 Key: ISPN-2435
>                 URL: https://issues.jboss.org/browse/ISPN-2435
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core API, Distributed Cache
>    Affects Versions: 5.1.8.Final, 5.2.0.Beta2
>            Reporter: Sanne Grinovero
>            Assignee: Mircea Markus
>            Priority: Critical
>              Labels: 5.2.x
>             Fix For: 5.3.0.Final
>
>


--
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