[infinispan-issues] [JBoss JIRA] (ISPN-4730) CacheStore is cleared after stopped

Dan Berindei (JIRA) issues at jboss.org
Wed Sep 17 08:34:04 EDT 2014


     [ https://issues.jboss.org/browse/ISPN-4730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei reopened ISPN-4730:
--------------------------------


> CacheStore is cleared after stopped
> -----------------------------------
>
>                 Key: ISPN-4730
>                 URL: https://issues.jboss.org/browse/ISPN-4730
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Loaders and Stores
>    Affects Versions: 7.0.0.Beta1
>            Reporter: Radim Vansa
>            Assignee: Dan Berindei
>
> When a RemoveCacheCommand.perform() is called, the component registry is stopped and *after that*, all cache stores are cleared.
> I believe that it's not correct to call the clear method when the store is in stopped state, and some cachestores don't anticipate that (such as SingleFileStore which throws NullPointerException).



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the infinispan-issues mailing list