[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
Fri Feb 21 10:09:47 EST 2014


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

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

To me it makes sense to do the write skew check for all the values that were read by the transaction, regardless if they are written to or not. Of course, if the conditional operation was the only write in the transaction, then the transaction is effectively read-only and shouldn't be replicated at all.
                
> 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