[
https://issues.jboss.org/browse/ISPN-1789?page=com.atlassian.jira.plugin....
]
Paul Ferraro updated ISPN-1789:
-------------------------------
Summary: Incorrect LoaderConfigurationBuilder validation causes misleading WARN log
message (was: LoaderConfigurationBuilder validation is wrong)
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
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:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira