[infinispan-issues] [JBoss JIRA] (ISPN-7614) Disabling a store doesn't stop it

Dan Berindei (JIRA) issues at jboss.org
Tue Mar 14 12:00:00 EDT 2017


Dan Berindei created ISPN-7614:
----------------------------------

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



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list