Hi All,

just a quick question.. what could motivate Infinispan to check my store *each* time I get an entry from the its cache ??

While I was debugging the BlobCacheStore I noticed that all my 'get' endend up in a decompression of an entry downloaded from S3...

Did I miss somthing in my config ?:

1) jgroups as transport
2) jmx enabled
3) transaction enabled (Atomikos)
4) distribution mode
5) l1 enabled
6) two owners (actually only one alive... does this have an impact ?)
7) no passivation 
8) cache is shared
9) cache is no preloaded 
10) then the config for the cache store
11) eviction manual (my own)
12) one minute max locking

And *each* time I 'get' something from the cache... it goes to the store.

I must be missing something ;-)

phil

<?xml version="1.0" encoding="UTF-8"?>

<infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="urn:infinispan:config:4.0">
<global>
<transport
transportClass="org.infinispan.remoting.transport.jgroups.JGroupsTransport">
<properties>
<property name="configurationFile" value="jgroups.xml" />
</properties>
</transport>
<globalJmxStatistics enabled="true" />
</global>



<namedCache name="qi4j">
<jmxStatistics enabled="true" />
<transaction
transactionManagerLookupClass="org.qi4j.entitystore.s3jclouds.AtomikosTransactionManagerLookup" />
<clustering mode="distribution">
<l1 enabled="true" lifespan="100000" />
<hash numOwners="2" rehashRpcTimeout="120000" />
</clustering>

<loaders passivation="false" shared="true" preload="false">

<loader
class="org.qi4j.entitystore.s3jclouds.cacheStore.Bzip2CloudCacheStore"
fetchPersistentState="false" ignoreModifications="false"
purgeOnStartup="false" purgeSynchronously="true">

<properties>
<property name="identity" value="nahnah" />
<property name="password" value="nah" />
<property name="bucketPrefix" value="storetest2" />
<property name="cloudService" value="s3" />
</properties>
</loader>
</loaders>

<!--
<deadlockDetection enabled="true"
spinDuration="1000"></deadlockDetection>
-->
<eviction strategy="LRU" wakeUpInterval="-1" maxEntries="1" />

<locking lockAcquisitionTimeout="60000" concurrencyLevel="32" />



<unsafe unreliableReturnValues="true" />

</namedCache>
</infinispan>