[infinispan-dev] Unable to fetchPersistentState unless fetchInMemoryState is on, intended?

Galder Zamarreno galder at redhat.com
Thu Jan 21 13:14:36 EST 2010


https://jira.jboss.org/jira/browse/ISPN-338

On 01/21/2010 04:43 PM, Manik Surtani wrote:
>> >  Hi,
>> >
>> >  Re:http://community.jboss.org/thread/146590
>> >
>> >  "Also, if I set the fetchInMemoryState to false in<stateRetrieval />
>> >  and fetchPersistentState to true in<loader />, the persistent state
>> >  transfer never happens (the code [StateTransferManagerImpl.java] is
>> >  never run through the debugger)."
>> >
>> >  That's because of
>> >  https://anonsvn.jboss.org/repos/infinispan/trunk/core/src/main/java/org/infinispan/factories/StateTransferManagerFactory.java
>> >
>> >         if (configuration.getCacheMode().isClustered()&&
>> >  configuration.isFetchInMemoryState())
>> >            return componentType.cast(new StateTransferManagerImpl());
>> >         else
>> >            return null;
>> >
>> >  Is this intended? I do not see such limitation in JBoss Cache. Fetching
>> >  the persistent state but not the in-memory one sounds like a valid case.
> Yes, that's correct - that check would need to be updated.

-- 
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache



More information about the infinispan-dev mailing list