[infinispan-issues] [JBoss JIRA] (ISPN-8994) ClusterHealth.getHealthStatus() should take in account the internal caches.
Pedro Ruivo (JIRA)
issues at jboss.org
Wed Mar 28 15:36:08 EDT 2018
[ https://issues.jboss.org/browse/ISPN-8994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pedro Ruivo updated ISPN-8994:
------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> ClusterHealth.getHealthStatus() should take in account the internal caches.
> ---------------------------------------------------------------------------
>
> Key: ISPN-8994
> URL: https://issues.jboss.org/browse/ISPN-8994
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Reporter: Pedro Ruivo
> Assignee: Katia Aresti
> Fix For: 9.2.2.Final
>
>
> Current implementation of {{ClusterHealth.getHealthStatus()}} only checks the user caches. Internal caches created should have be part of the cluster health and we can check them via {{InternalCacheRegistry.getInternalCaches()}}.
> Also, it should use {{CacheManager.getCache(cacheName, false)}} to avoid starting the cache if it is defined but not started yet (example, the counter's internal cache is defined but it is only started when a counter is created)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list