[infinispan-issues] [JBoss JIRA] Updated: (ISPN-693) Be able to avoid querying the CacheStore when putting a new value

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Mon Oct 11 10:09:40 EDT 2010


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

Galder Zamarreño updated ISPN-693:
----------------------------------

    JBoss Forum Reference: http://lists.jboss.org/pipermail/infinispan-dev/2010-October/006436.html


Sanne, if you start dev threads, make sure you link issues to them so that discussions can be traced back :)

> Be able to avoid querying the CacheStore when putting a new value
> -----------------------------------------------------------------
>
>                 Key: ISPN-693
>                 URL: https://jira.jboss.org/browse/ISPN-693
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Loaders and Stores
>            Reporter: Sanne Grinovero
>            Assignee: Manik Surtani
>             Fix For: 4.2.0.BETA1, 4.2.0.Final, 5.0.0.BETA1, 5.0.0.Final
>
>
> As mentioned on the mailing list, when doing
> cache.withFlags(Flag.SKIP_REMOTE_LOOKUP).put( key, value )
> this will cause a CacheLoaderInterceptor to try loading the data, there is no way to prevent this; this is a major performance issue when I'm not interested in the return value of put.
> Apparently SKIP_REMOTE_LOOKUP work only to prevent return values from other nodes, but there's not way to prevent loading from the store. SKIP_CACHE_STORE would correctly skip the read, but I actually want the value to be written to the store, just needing to avoid the read.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list