[infinispan-issues] [JBoss JIRA] (ISPN-4018) Write skew should not be check if conditional operations does not change the value

Dan Berindei (JIRA) issues at jboss.org
Tue Feb 25 10:11:48 EST 2014


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

Dan Berindei commented on ISPN-4018:
------------------------------------

Ok, I did some more reading and I guess you're right, not even snapshot isolation requires a write skew check on all the read keys.

And since a conditional command only modifies the key if the condition is met, a failed {{putIfAbsent(x, w)}} should not count as a write on {{x}}.
                
> Write skew should not be check if conditional operations does not change the value
> ----------------------------------------------------------------------------------
>
>                 Key: ISPN-4018
>                 URL: https://issues.jboss.org/browse/ISPN-4018
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core, Transactions
>    Affects Versions: 6.0.1.Final
>            Reporter: Pedro Ruivo
>            Assignee: Pedro Ruivo
>             Fix For: 7.0.0.Alpha1, 7.0.0.Final
>
>
> Currently, if a conditional operation does no perform the update, we still perform the check. however, the write never happened. It simple makes no sense.
> However, if a write succeeds after, the write skew check must be performed for the key.

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