[infinispan-issues] [JBoss JIRA] Commented: (ISPN-688) Data preloaded from a CacheStore is immediately stored in the CacheStore again
Galder Zamarreño (JIRA)
jira-events at lists.jboss.org
Mon Oct 11 07:55:39 EDT 2010
[ https://jira.jboss.org/browse/ISPN-688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556297#action_12556297 ]
Galder Zamarreño commented on ISPN-688:
---------------------------------------
Hmmm, this requires some thought since you can chain cache stores. This means that, you could be preloading from a shared cache store but wanting that to be stored in your local cache store. What you want to avoid is to store in the same cache store from which you read. Trustin, fancy looking into this?
> Data preloaded from a CacheStore is immediately stored in the CacheStore again
> ------------------------------------------------------------------------------
>
> Key: ISPN-688
> URL: https://jira.jboss.org/browse/ISPN-688
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 4.0.0.Final, 4.1.0.Final, 4.2.0.ALPHA2
> Reporter: Sanne Grinovero
> Assignee: Mircea Markus
> Priority: Minor
> Fix For: 4.2.0.BETA1, 4.2.0.Final, 5.0.0.BETA1, 5.0.0.Final
>
>
> When enabling logging on the CacheStore, which is being used with preload=true, I can clearly see that during the preload operation each value is read from the store and immediately after that stored again.
> This is quite a performance hit in application loading, as the whole store is written again without this being needed.
--
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