]
Radim Vansa updated ISPN-4730:
------------------------------
Forum Reference:
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).