[infinispan-issues] [JBoss JIRA] Commented: (ISPN-688) Data preloaded from a CacheStore is immediately stored in the CacheStore again
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Tue Oct 26 11:29:55 EDT 2010
[ https://jira.jboss.org/browse/ISPN-688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559365#action_12559365 ]
Manik Surtani commented on ISPN-688:
------------------------------------
Perhaps this needs the flag SKIP_CACHE_STORE on line 133 on Trustin's link above. But good point, Galder, re: chained stores.
In any case, any *shared* store should be bypassed when storing something due to a preload or a rehash. So for this we'd need yet another flag, SKIP_SHARED_CACHE_STORE.
> 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