[infinispan-issues] [JBoss JIRA] (ISPN-11367) getCache(name) should never use the default cache's configuration
Pedro Zapata Fernandez (Jira)
issues at jboss.org
Fri Mar 6 09:18:23 EST 2020
[ https://issues.redhat.com/browse/ISPN-11367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pedro Zapata Fernandez updated ISPN-11367:
------------------------------------------
Sprint: DataGrid Sprint #40, DataGrid Sprint #41 (was: DataGrid Sprint #40)
> getCache(name) should never use the default cache's configuration
> -----------------------------------------------------------------
>
> Key: ISPN-11367
> URL: https://issues.redhat.com/browse/ISPN-11367
> Project: Infinispan
> Issue Type: Enhancement
> Components: Configuration, Core
> Affects Versions: 10.1.2.Final, 11.0.0.Alpha1
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 11.0.0.Dev03
>
>
> {{DefaultCacheManager.getCache(name)}} will try to create the cache if it doesn't exist, and if a matching configuration doesn't exist either it uses the default cache's configuration.
> Since 9.0 named cache configurations no longer inherit from the default cache configuration, so using the default cache's configuration as a default configuration is surprising.
> {{DefaultCacheManager.getCache(name)}} should only create the cache if a matching configuration exists, otherwise it should throw an exception.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list