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

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

    Details

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dan.berindei Dan Berindei
                  Reporter:
                  dan.berindei Dan Berindei
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: