Status: Resolved (View Workflow)
Affects Version/s: 5.1.2.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.
|Summary||Persistent state transfer and purge on startup warning should not be produced for cache loaders only (not sore)||Persistent state transfer and purge on startup warning should not be produced for cache loaders only (not store)|
|Priority||Major [ 3 ]||Minor [ 4 ]|
|Fix Version/s||5.1.3.CR1 [ 12319263 ]|
|Fix Version/s||5.2.0.FINAL [ 12314720 ]|
|Fix Version/s||5.2.0.ALPHA1 [ 12318882 ]|
|Status||Open [ 1 ]||Pull Request Sent [ 10011 ]|
|Git Pull Request||https://github.com/infinispan/infinispan/pull/1012|
|Status||Pull Request Sent [ 10011 ]||Resolved [ 5 ]|
|Resolution||Done [ 1 ]|
|Workflow||GIT Pull Request workflow [ 12485089 ]||GIT Pull Request with Triage workflow [ 12615043 ]|