[
https://jira.jboss.org/browse/ISPN-688?page=com.atlassian.jira.plugin.sys...
]
Sanne Grinovero commented on ISPN-688:
--------------------------------------
I don't think I need a different API, as Infinispan should be able to figure out what
it optimal to do according to state and configuration.
Maybe a boolean could be added to the cacheentry, to track if the value is already present
in the store or not. This will also avoid re-storing the values again after a rehash,
which is another problem I had in the past and really slows down rehashing as it relies on
the CacheStore peroformance.
I'm really talking about the shared cache stores only, so I'm not sure how this
could be applied to the store-per-node use case.
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