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

Radim Vansa (JIRA) issues at jboss.org
Tue Sep 16 06:37:02 EDT 2014


Radim Vansa created ISPN-4730:
---------------------------------

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