]
Manik Surtani updated ISPN-1789:
--------------------------------
Fix Version/s: 5.2.0.ALPHA1
5.2.0.FINAL
Incorrect LoaderConfigurationBuilder validation causes misleading
WARN log message
----------------------------------------------------------------------------------
Key: ISPN-1789
URL:
https://issues.jboss.org/browse/ISPN-1789
Project: Infinispan
Issue Type: Bug
Components: Configuration
Affects Versions: 5.1.0.FINAL
Reporter: Paul Ferraro
Assignee: Manik Surtani
Fix For: 5.2.0.ALPHA1, 5.2.0.FINAL
LoaderConfigurationBuilder.validate() tests for the following condition:
if (!getLoadersBuilder().shared() && fetchPersistentState &&
purgeOnStartup && getBuilder().clustering().cacheMode().isClustered()) {
log.staleEntriesWithoutFetchPersistentStateOrPurgeOnStartup();
}
The error message reads:
"Fetch persistent state and purge on startup are both disabled, cache may contain
stale entries on startup"
However, the condition tests for the case where fetch persistent state and purge are both
*enabled*. The result is a misleading WARN message in the logs.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: