[infinispan-issues] [JBoss JIRA] Created: (ISPN-1287) purgerThreads configuration attribute will never be passed to CacheStoreConfig

Robert Stupp (JIRA) jira-events at lists.jboss.org
Tue Aug 2 07:01:23 EDT 2011


purgerThreads configuration attribute will never be passed to CacheStoreConfig
------------------------------------------------------------------------------

                 Key: ISPN-1287
                 URL: https://issues.jboss.org/browse/ISPN-1287
             Project: Infinispan
          Issue Type: Bug
          Components: Configuration
    Affects Versions: 5.0.0.CR8
            Reporter: Robert Stupp
            Assignee: Manik Surtani


There is a bug in class CacheStoreAdapter that prevents purgerThreads configuration attribute to be passed to CacheStoreConfig.
File: org\infinispan\loaders\CacheLoaderConfig.java
Method: unmarshal(AbstractCacheStoreConfig)

The code is missing the following line:

      if (clc instanceof CacheStoreConfig) {
         csc.setPurgerThreads(storeConfig.getPurgerThreads());    // MISSING!
      }

See ISPN-1286, because enabling parallel purge will not use the global lock.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list