[infinispan-issues] [JBoss JIRA] (ISPN-8994) ClusterHealth.getHealthStatus() should take in account the internal caches.
Pedro Ruivo (JIRA)
issues at jboss.org
Tue Mar 27 05:16:00 EDT 2018
[ https://issues.jboss.org/browse/ISPN-8994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pedro Ruivo updated ISPN-8994:
------------------------------
Description:
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)
was:
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 creating a cache if it is defined but not started yet.
> 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
>
> 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