Details
-
Bug
-
Resolution: Done
-
Major
-
5.1.0.FINAL
-
None
Description
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.