]
Katia Aresti updated ISPN-8994:
-------------------------------
Fix Version/s: 9.2.2.Final
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)