[infinispan-issues] [JBoss JIRA] (ISPN-1898) Persistent state transfer and purge on startup warning should not be produced for cache loaders only (not sore)
Galder Zamarreño (JIRA)
jira-events at lists.jboss.org
Mon Mar 5 05:13:36 EST 2012
Galder Zamarreño created ISPN-1898:
--------------------------------------
Summary: Persistent state transfer and purge on startup warning should not be produced for cache loaders only (not sore)
Key: ISPN-1898
URL: https://issues.jboss.org/browse/ISPN-1898
Project: Infinispan
Issue Type: Bug
Affects Versions: 5.1.2.FINAL
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Fix For: 5.1.x, 5.2.0.ALPHA1, 5.2.0.FINAL
Warning messages such as this should not appear when the cache loader is read only, i.e. ClusterCacheLoader:
2012-03-01 22:27:34,523 | ISPN000149: Fetch persistent state and purge on startup are both disabled, cache may contain stale entries on startup
The original warning message came from ConfigurationValidatingVisitor where there was, a check to see if the cache loader was really a cache store (i.e. loaderConfig instanceof CacheStoreConfig). This is not present in LoaderConfigurationBuilder for the new configuration style.
So, add it to LoaderConfigurationBuilder and mark ConfigurationValidatingVisitor as deprecated.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list