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

CacheContainerAdmin.removeCache() undefined for predefined caches

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • 13.0.0.Final
    • 12.1.3.Final
    • Core
    • None
    • Undefined

      CacheContainerAdmin.removeCache() doesn't say anything about its behaviour when the cache was not created with CacheContainerAdmin.createCache().

      The current implementation removes the cache only on the local node.
      OTOH the javadoc of DefaultCacheManager.removeCache() says it always removes the cache cluster-wide, and the implementation just delegates to CacheContainerAdmin.removeCache().

      We should change the documentation (and maybe the implementation) to make it clear to users when they should expect the cache to be removed on all the nodes and when they should expect it to be removed on only one node.

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

                Created:
                Updated:
                Resolved:
                Archived: