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

Galder Zamarreño (JIRA) issues at jboss.org
Mon Aug 10 15:29:06 EDT 2015


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

Galder Zamarreño updated ISPN-5643:
-----------------------------------
    Fix Version/s: 8.0.0.CR1
                       (was: 8.0.0.Beta3)


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