[infinispan-issues] [JBoss JIRA] (ISPN-4446) removeCache fails for caches with a SingleFileStore
Galder Zamarreño (JIRA)
issues at jboss.org
Thu Jul 17 14:28:29 EDT 2014
[ https://issues.jboss.org/browse/ISPN-4446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12986028#comment-12986028 ]
Galder Zamarreño commented on ISPN-4446:
----------------------------------------
I've got a fix for this, but not sure if I'll be approved since it uses thread locals. See the PR link for comments on it.
> removeCache fails for caches with a SingleFileStore
> ---------------------------------------------------
>
> Key: ISPN-4446
> URL: https://issues.jboss.org/browse/ISPN-4446
> Project: Infinispan
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 6.0.2.Final
> Reporter: Jim Crossley
> Assignee: Galder Zamarreño
> Fix For: 7.0.0.CR1, 7.0.0.Final
>
>
> If DefaultCacheManager.isRunning("foo") returns true, and "foo" has an associated SingleFileStore, calling DefaultCacheManager.removeCache("foo") tosses an NPE and isRunning("foo") continues to return true, even though the cache is in a TERMINATED state. I can avoid the NPE by stopping the cache before calling removeCache, but isRunning will still incorrectly return true.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the infinispan-issues
mailing list