]
Dan Berindei updated ISPN-7614:
-------------------------------
Git Pull Request:
Disabling a store doesn't stop it
---------------------------------
Key: ISPN-7614
URL:
https://issues.jboss.org/browse/ISPN-7614
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 9.0.0.CR2
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 9.0.0.Final
When disabling a store via {{PersistenceManager.disableStore(...)}}, the store is removed
from the list of loaders/writers, but its {{stop()}} method is not called, so buffers may
not be flushed.
{{AsyncCacheWriter}} will also leak the {{AsyncStoreCoordinator}} thread if {{stop()}} is
not called, and this thread leak is visible when running
{{ClassLoaderManagerDisablingTest}}.