[infinispan-issues] [JBoss JIRA] (ISPN-9933) Cache components are not stopped after startup error
Dan Berindei (Jira)
issues at jboss.org
Tue Feb 5 01:29:00 EST 2019
Dan Berindei created ISPN-9933:
----------------------------------
Summary: Cache components are not stopped after startup error
Key: ISPN-9933
URL: https://issues.jboss.org/browse/ISPN-9933
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 9.4.6.Final, 10.0.0.Alpha3
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 10.0.0.Beta1, 9.4.7.Final
When a cache fails to start (e.g. because a store is not available on startup), the cache is not registered in {{DefaultCacheManager's}} map, and stopping the cache manager does not stop any of the components that already started (or even the component that failed).
E.g. in {{NonStringKeyPreloadTest}}, the store is not available on startup, and the threads created by HikariCP on startup (in 9.4.x) are not released. The test also leaks an Agroal thread on master, but that is because the test is keeping the connection pool factory in a static field.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the infinispan-issues
mailing list