Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-11367

getCache(name) should never use the default cache's configuration

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: