Creating cache with invalid configuration leaves inconsistent state
-------------------------------------------------------------------
Key: ISPN-12309
URL:
https://issues.redhat.com/browse/ISPN-12309
Project: Infinispan
Issue Type: Bug
Components: Core, REST
Affects Versions: 11.0.3.Final, 12.0.0.Dev04
Reporter: Katia Aresti
Assignee: Gustavo Fernandes
Priority: Critical
Fix For: 11.0.4.Final, 12.0.0.Dev05
When a cache is created using the EmbeddedCacheManagerAdmin with a configuration that
prevents the cache from starting, it will throw an error but will persist the cache
nonetheless.
Further operations involving cache manager can throw exceptions, for example,
{{Health.getHealth()}} since it tries to access the invalid cache that cannot be started