[infinispan-issues] [JBoss JIRA] (ISPN-5643) Simplify handling of previous values

William Burns (JIRA) issues at jboss.org
Mon Aug 31 12:19:05 EDT 2015


     [ https://issues.jboss.org/browse/ISPN-5643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Burns updated ISPN-5643:
--------------------------------
        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done


> Simplify handling of previous values
> ------------------------------------
>
>                 Key: ISPN-5643
>                 URL: https://issues.jboss.org/browse/ISPN-5643
>             Project: Infinispan
>          Issue Type: Task
>          Components: Core
>    Affects Versions: 8.0.0.Beta2
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>             Fix For: 8.0.0.Final
>
>
> There are 5 ways the user can influence whether the previous value is read from a store/remote node:
> * unsafe.unreliableReturnValues
> * IGNORE_RETURN_VALUES
> * SKIP_CACHE_LOAD
> * SKIP_REMOTE_LOOKUP
> * CACHE_MODE_LOCAL
> Currently the effect of each is slightly different, depending on whether the operation is conditional, whether it's a delta-aware write etc. This is how I think it should work:
> * unsafe.unreliableReturnValues and IGNORE_RETURN_VALUES should skip reading the previous value only if it doesn't change the outcome of the operation (i.e. no effect for reads, conditional operations, or delta-aware).
> * SKIP_CACHE_LOAD should *always* skip the cache loader.
> * SKIP_REMOTE_LOOKUP and CACHE_MODE_LOCAL should *always* skip the remote lookup



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the infinispan-issues mailing list