[infinispan-issues] [JBoss JIRA] (ISPN-8994) ClusterHealth.getHealthStatus() should take in account the internal caches.

Katia Aresti (JIRA) issues at jboss.org
Tue Mar 27 15:15:00 EDT 2018


     [ https://issues.jboss.org/browse/ISPN-8994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Katia Aresti updated ISPN-8994:
-------------------------------
              Status: Pull Request Sent  (was: Coding In Progress)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/5877


> 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
>
> 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