[infinispan-issues] [JBoss JIRA] Created: (ISPN-338) fetchPersistentState should be allowed regardless of fetchInMemoryState
Galder Zamarreno (JIRA)
jira-events at lists.jboss.org
Thu Jan 21 13:14:20 EST 2010
fetchPersistentState should be allowed regardless of fetchInMemoryState
-----------------------------------------------------------------------
Key: ISPN-338
URL: https://jira.jboss.org/jira/browse/ISPN-338
Project: Infinispan
Issue Type: Bug
Components: Configuration, Loaders and Stores
Affects Versions: 4.0.0.CR3
Reporter: Galder Zamarreno
Assignee: Galder Zamarreno
Fix For: 4.0.0.GA
> > 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list