[infinispan-issues] [JBoss JIRA] (ISPN-8918) When a cache is stopped and restarted, its configuration reference within component registry is not refreshed with defineConfiguration/undefineConfiguration
Radoslav Husar (JIRA)
issues at jboss.org
Mon Mar 5 17:02:00 EST 2018
[ https://issues.jboss.org/browse/ISPN-8918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radoslav Husar updated ISPN-8918:
---------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request: https://github.com/infinispan/infinispan/pull/5817
> When a cache is stopped and restarted, its configuration reference within component registry is not refreshed with defineConfiguration/undefineConfiguration
> ------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-8918
> URL: https://issues.jboss.org/browse/ISPN-8918
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.1.6.Final, 9.2.0.Final
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
>
> When a cache is stopped and restarted, its configuration reference within component registry is not refreshed with defineConfiguration/undefineConfiguration.
> The problem is that org/infinispan/factories/ComponentRegistry.java:77 is only called once the cache is being wired thus {{registerComponent(configuration, Configuration.class);}} is the only place where the configuration is put into the registry.
> The best solution is to remove the cache in TERMINATED state once configuration is undefined thus establishing a clear terminal lifecycle.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list