[infinispan-issues] [JBoss JIRA] (ISPN-1789) LoaderConfigurationBuilder validation is wrong

Paul Ferraro (JIRA) jira-events at lists.jboss.org
Wed Jan 25 16:29:48 EST 2012


Paul Ferraro created ISPN-1789:
----------------------------------

             Summary: LoaderConfigurationBuilder validation is wrong
                 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

        


More information about the infinispan-issues mailing list