[JBoss JIRA] (ISPN-9667) DefaultCacheManager inconsistent status checks
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-9667?page=com.atlassian.jira.plugin.... ]
Dan Berindei reopened ISPN-9667:
--------------------------------
> DefaultCacheManager inconsistent status checks
> ----------------------------------------------
>
> Key: ISPN-9667
> URL: https://issues.jboss.org/browse/ISPN-9667
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.4.1.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 9.4.2.Final, 10.0.0.Alpha1
>
>
> {{DefaultCacheManager.getTransport()}} returns {{null}} when the manager is stopping, it should not.
> To make things worse, {{DefaultCacheManager.getStatus()}} returns the status of the {{GlobalComponentRegistry}}, which is still {{RUNNING}} while caches are shutting down. That means {{DCM.getTransport()}} and {{DCM.getAddress()}} return {{null}} while the cache are stopping, and breaks distributed streams on caches that are still running.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month
[JBoss JIRA] (ISPN-9898) JGroupsTransport leaks channel after initial cluster size timeout
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-9898?page=com.atlassian.jira.plugin.... ]
Ryan Emerson resolved ISPN-9898.
--------------------------------
Fix Version/s: 10.0.0.Beta3
(was: 10.0.0.Beta2)
Resolution: Done
> JGroupsTransport leaks channel after initial cluster size timeout
> -----------------------------------------------------------------
>
> Key: ISPN-9898
> URL: https://issues.jboss.org/browse/ISPN-9898
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 10.0.0.Alpha2, 9.4.5.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 10.0.0.Beta3
>
>
> {{JGroupsTransport}} fails during startup if a minimum cluster size is configured and there are not enough nodes. Because the component is in failed, stopping the cache manager does not invoke the stop method and the channel is leaked.
> We could catch the exception in {{JGroupsTransport}} and close the channel there, but it would be safer if {{BasicComponentRegistryImpl}} invoked the stop methods for failed components as well.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month
[JBoss JIRA] (ISPN-9933) Cache components are not stopped after startup error
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-9933?page=com.atlassian.jira.plugin.... ]
Ryan Emerson resolved ISPN-9933.
--------------------------------
Fix Version/s: 10.0.0.Beta3
(was: 10.0.0.Beta2)
(was: 9.4.8.Final)
Resolution: Done
> 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: 10.0.0.Alpha3, 9.4.6.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Labels: testsuite_stability
> Fix For: 10.0.0.Beta3
>
>
> 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)
7 years, 1 month
[JBoss JIRA] (ISPN-9882) JdbcStringBasedStore leaks threads
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-9882?page=com.atlassian.jira.plugin.... ]
Ryan Emerson resolved ISPN-9882.
--------------------------------
Fix Version/s: 10.0.0.Beta3
(was: 10.0.0.Beta2)
Resolution: Done
> JdbcStringBasedStore leaks threads
> ----------------------------------
>
> Key: ISPN-9882
> URL: https://issues.jboss.org/browse/ISPN-9882
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 10.0.0.Alpha2, 9.4.5.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 10.0.0.Beta3
>
>
> When stopping, {{JdbcStringBasedStore}} only stops the connection factory if it implements {{ManagedConnectionFactory}}. {{PooledConnectionFactory}} doesn't implement it, so Agroal connection pools are not closed and leak threads.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month