[infinispan-issues] [JBoss JIRA] Created: (ISPN-1286) Parallel purger threads will not be locked globally in FileCacheStore

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


Parallel purger threads will not be locked globally in FileCacheStore
---------------------------------------------------------------------

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


The function FileCacheStore.purgeInternal() aquires a global lock and releases it after completion.

When multiThreadedPurge is true (which cannot be the case due to another bug, that I'll post later), the lock will be released BEFORE purging has completed.
This is caused by the implementation, that starts N purger threads in parallel but does not wait for them to complete (as I think).


--
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