]
Tristan Tarrant updated ISPN-7129:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.0.0.CR1
Resolution: Done
Duplicate cache names shouldn't be allowed
------------------------------------------
Key: ISPN-7129
URL:
https://issues.jboss.org/browse/ISPN-7129
Project: Infinispan
Issue Type: Bug
Components: Configuration
Affects Versions: 9.0.0.Alpha2
Reporter: Jakub Markos
Assignee: Jakub Markos
Fix For: 9.0.0.CR1
Multiple caches with the same name can be defined without a WARN/ERROR message.
It's also unclear which one will be used, for example with this configuration
{code}
<distributed-cache name="testCache"/>
<distributed-cache name="testCache">
<eviction max-entries="100" />
</distributed-cache>
<distributed-cache name="testCache"/>
{code}
-the cache with eviction will be used.- Actually the configurations are merged...