[infinispan-dev] ISPN-699 - proper cancellation of cache store operations

Manik Surtani manik at jboss.org
Thu Oct 21 04:41:11 EDT 2010


On 21 Oct 2010, at 09:28, Galder Zamarreño wrote:

> This is what I'm trying to solve right now, a way for the FCS to get our of purging internal properly if interrupted.


May be more than just the FCS.  Need to check whether all of the cache stores handle being interrupted properly.  Not just during a purge, but during any read/write operation.  I suspect this may be your problem.  A further problem - wrt purging - may be that the FCS supports async purging, where the purge operation is handed off to an executor.  If this is enabled, then this task would have to be cancelled as well.  See:

http://fisheye.jboss.org/browse/Infinispan/branches/4.2.x/core/src/main/java/org/infinispan/loaders/AbstractCacheStore.java?r=2324#l81

--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org







More information about the infinispan-dev mailing list